makefile

来自「RISC处理器仿真分析程序。可以用于研究通用RISC处理器的指令和架构设计。在l」· 代码 · 共 38 行

TXT
38
字号
CC=../ssbig-na-sstrix/bin/gccCFLAGS=-g -O3all: anagram test-printf test-fmath test-math test-llong test-lswlranagram: anagram.c	$(CC) $(CFLAGS) -o anagram anagram.ctest-printf: test-printf.c	$(CC) $(CFLAGS) -o test-printf test-printf.c -lmtest-fmath: test-fmath.c	$(CC) $(CFLAGS) -o test-fmath test-fmath.c -lmtest-math: test-math.c	$(CC) $(CFLAGS) -o test-math test-math.c -lmtest-llong: test-llong.c	$(CC) $(CFLAGS) -o test-llong test-llong.ctest-lswlr: test-lswlr.c	$(CC) $(CFLAGS) -o test-lswlr test-lswlr.ctest:	all	../simplesim-0.1/sim-safe anagram words < input.txt	../simplesim-0.1/sim-safe test-printf	../simplesim-0.1/sim-safe test-fmath	../simplesim-0.1/sim-safe test-math	../simplesim-0.1/sim-safe test-llong	../simplesim-0.1/sim-safe test-lswlrdistclean:	-make cleanclean:	rm -f anagram test-printf test-fmath test-math test-llong test-lswlr test-as *.[oia] core *~

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?