2 Star 5 Fork 0

thor/unisim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 765 Bytes
一键复制 编辑 原始数据 按行查看 历史
thor 提交于 2013-12-02 23:29 +08:00 . temp
CC=gcc
CFLAGS=-DDEBUG
OBJS=sim.o loader.o helper.o shifter.o mmu.o extender.o syscall.o
all: unisim test_sim
unisim: main.c $(OBJS)
$(CC) $(CFLAGS) -o unisim main.c $(OBJS)
test: test.c $(OBJS)
$(CC) $(CFLAGS) -o test test.c $(OBJS)
sim.o: sim.c sim.h helper.h helper.o
$(CC) $(CFLAGS) -c sim.c
loader.o: loader.c loader.h helper.h helper.o
$(CC) $(CFLAGS) -c loader.c
helper.o: helper.c helper.h
$(CC) $(CFLAGS) -c helper.c
shifter.o: shifter.c shifter.h
$(CC) $(CFLAGS) -c shifter.c
mmu.o: mmu.c mmu.h
$(CC) $(CFLAGS) -c mmu.c
extender.o: extender.c extender.h
$(CC) $(CFLAGS) -c extender.c
test_sim: sim.o test_sim.c
$(CC) $(CFLAGS) -o test_sim test_sim.c sim.h
syscall.o: syscall.c syscall.h
$(CC) $(CFLAGS) -c syscall.c
clean:
rm *.o
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/thor/unisim.git
git@gitee.com:thor/unisim.git
thor
unisim
unisim
master

搜索帮助