makefile
来自「The art and science of c_source code!」· 代码 · 共 75 行
TXT
75 行
# Makefile for cbook/15-Text-Files/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \ showfile \ copyfile \ ucfile \ remcom \ linecopy \ elements # ***************************************************************# 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 compilationsshowfile.o: showfile.c $(CC) $(CFLAGS) -c showfile.ccopyfile.o: copyfile.c $(CC) $(CFLAGS) -c copyfile.cucfile.o: ucfile.c $(CC) $(CFLAGS) -c ucfile.cremcom.o: remcom.c $(CC) $(CFLAGS) -c remcom.clinecopy.o: linecopy.c $(CC) $(CFLAGS) -c linecopy.celements.o: elements.c $(CC) $(CFLAGS) -c elements.cshowfile: showfile.o $(CC) $(CFLAGS) -o showfile showfile.ocopyfile: copyfile.o $(CC) $(CFLAGS) -o copyfile copyfile.oucfile: ucfile.o $(CC) $(CFLAGS) -o ucfile ucfile.oremcom: remcom.o $(CC) $(CFLAGS) -o remcom remcom.olinecopy: linecopy.o $(CC) $(CFLAGS) -o linecopy linecopy.oelements: elements.o $(CC) $(CFLAGS) -o elements elements.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?