makefile

来自「一个很有名的硬件模拟器。可以模拟CPU」· 代码 · 共 38 行

TXT
38
字号
CC=ccCFLAGS=-O5 -non_sharedall: 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 + -
显示快捷键?