makefile.msc
来自「linux下的C语言开发」· MSC 代码 · 共 46 行
MSC
46 行
## Makefile for Microsoft Visual C++#CC=cl## Flags # AL -- Compile for large model# Zi -- Enable debugging# W1 -- Turn on warnings#CFLAGS=/AL /Zi /W1OBJS= stat.obj ch_type.obj token.obj in_file.objall: stat.out stat.exe test.outtest.out: test.c stat.exe stat test.c >test.out# This generates a test output based on another example# in this book.stat.out: stat.exe stat ..\calc3\calc3.c >stat.outstat.exe: $(OBJS) $(CC) $(CCFLAGS) $(OBJS)stat.obj: stat.c token.h $(CC) $(CCFLAGS) -c stat.cch_type.obj: ch_type.c ch_type.h $(CC) $(CCFLAGS) -c ch_type.ctoken.obj: token.c token.h ch_type.h $(CC) $(CCFLAGS) -c token.cin_file.obj: in_file.c $(CC) $(CCFLAGS) -c in_file.cclean: erase stat.exe erase stat.obj erase ch_type.obj erase token.obj erase in_file.obj
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?