📄 makefile
字号:
############################################################## Time-stamp: <makefile - Sun 8/17/2003 12:53:54 by tony>############################################################## specify your compilerCC = gcc# Following conditional clause only works with GNU makeifeq ($(MAKECMDGOALS),lnx)# For Linux LIB = ../lib/lib_cstr_lnx.a BIN = lnx.exampleelse# For Solaris LIB = ../lib/lib_cstr_sol.a BIN = sol.exampleendifSRC = example2.c H = stringencrypt.hARCH = cstr_app_src.tar##############################################################defaul: @echo " Usage: make [lnx|sol]"lnx: solsol: $(SRC) $(LIB) $(H) $(CC) -s -o $(BIN) $(SRC) $(LIB)clean: -rm -f lnx.example sol.examplearch: $(SRC) $(H) tar cvf $(ARCH) $(SRC) $(H) makefile
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -