makefile
来自「The art and science of c_source code!」· 代码 · 共 61 行
TXT
61 行
# Makefile for cbook/16-Records/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \ employee \ point \ empdb \ teach # ***************************************************************# Parameters to control Makefile operation# Note that the gccx command script must be definedCC = gccxCFLAGS = # ***************************************************************# Entry to bring the package up to dateall: $(PROGRAMS)# ***************************************************************# Standard entries to remove files from the directories# tidy -- eliminate unwanted files# scratch -- delete derived files in preparation for rebuildtidy: rm -f ,* .,* *~ core a.out graphics.psscratch: tidy rm -f *.o *.a $(PROGRAMS)# ***************************************************************# C compilationsemployee.o: employee.c $(CC) $(CFLAGS) -c employee.cpoint.o: point.c $(CC) $(CFLAGS) -c point.cempdb.o: empdb.c $(CC) $(CFLAGS) -c empdb.cteach.o: teach.c $(CC) $(CFLAGS) -c teach.cemployee: employee.o $(CC) $(CFLAGS) -o employee employee.opoint: point.o $(CC) $(CFLAGS) -o point point.oempdb: empdb.o $(CC) $(CFLAGS) -o empdb empdb.oteach: teach.o $(CC) $(CFLAGS) -o teach teach.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?