makefile
来自「Visual C++实践与提高-刘刀桂, 孟繁晶编著」· 代码 · 共 39 行
TXT
39 行
#
# Makefile for TESTFCI
#
CL = cl.exe
LINK = link.exe
CFLAGS = /nologo /ML /W3 /O2 /c
LINK_FLAGS = /nologo /incremental:no
#
# Targets
#
all: testfci.exe
clean:
-@if exist testfci.obj erase testfci.obj
-@if exist testfci.exe erase testfci.exe
#
# Linking
#
testfci.exe: testfci.obj ..\..\lib\fci.lib
$(LINK) $(LINK_FLAGS) testfci.obj ..\..\lib\fci.lib /out:testfci.exe
#
# Object files
#
testfci.obj: testfci.c ..\..\include\fci.h
$(CL) $(CFLAGS) $*.c
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?