makefile.unx
来自「linux下的C语言开发」· UNX 代码 · 共 35 行
UNX
35 行
## Makefile for the UNIX standard cc compileR#CC=ccCFLAGS=-g OBJS= stat.o ch_type.o token.o in_file.oall: stat.out stat test.outtest.out: test.c stat stat test.c >test.out# This generates a test output based on another example# in this book.stat.out: stat stat ../calc3/calc3.c >stat.outstat: $(OBJS) $(CC) $(CFLAGS) -o stat $(OBJS)stat.o: stat.c token.h $(CC) $(CFLAGS) -c stat.cch_type.o: ch_type.c ch_type.h $(CC) $(CFLAGS) -c ch_type.ctoken.o: token.c token.h ch_type.h in_file.h $(CC) $(CFLAGS) -c token.cin_file.o: in_file.c in_file.h $(CC) $(CFLAGS) -c in_file.cclean: rm -f stat stat.o ch_type.o token.o in_file.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?