📄 makefile.unx
字号:
## 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -