📄 makefile
字号:
# Makefile for cbook/04-Statement-Forms/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \ leapyear \ oddeven \ signtest \ cardrank \ digitsum \ addlist \ liftoff \ timestab # ***************************************************************# 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 compilationsleapyear.o: leapyear.c $(CC) $(CFLAGS) -c leapyear.coddeven.o: oddeven.c $(CC) $(CFLAGS) -c oddeven.csigntest.o: signtest.c $(CC) $(CFLAGS) -c signtest.ccardrank.o: cardrank.c $(CC) $(CFLAGS) -c cardrank.cdigitsum.o: digitsum.c $(CC) $(CFLAGS) -c digitsum.caddlist.o: addlist.c $(CC) $(CFLAGS) -c addlist.cliftoff.o: liftoff.c $(CC) $(CFLAGS) -c liftoff.ctimestab.o: timestab.c $(CC) $(CFLAGS) -c timestab.cleapyear: leapyear.o $(CC) $(CFLAGS) -o leapyear leapyear.ooddeven: oddeven.o $(CC) $(CFLAGS) -o oddeven oddeven.osigntest: signtest.o $(CC) $(CFLAGS) -o signtest signtest.ocardrank: cardrank.o $(CC) $(CFLAGS) -o cardrank cardrank.odigitsum: digitsum.o $(CC) $(CFLAGS) -o digitsum digitsum.oaddlist: addlist.o $(CC) $(CFLAGS) -o addlist addlist.oliftoff: liftoff.o $(CC) $(CFLAGS) -o liftoff liftoff.otimestab: timestab.o $(CC) $(CFLAGS) -o timestab timestab.o
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -