makefile
来自「加解密包」· 代码 · 共 38 行
TXT
38 行
############################################################## 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 + =
减小字号Ctrl + -
显示快捷键?