makefile
来自「书名:C语言科学与艺术,以前交钱下载的」· 代码 · 共 89 行
TXT
89 行
# 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 + =
减小字号Ctrl + -
显示快捷键?