📄 makefile
字号:
# Makefile for cbook/12-Sorting/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \ testsort \ findcoin \ mileage \ mileage2 # ***************************************************************# 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 compilationsfindcoin.o: findcoin.c $(CC) $(CFLAGS) -c findcoin.cmileage.o: mileage.c $(CC) $(CFLAGS) -c mileage.cmileage2.o: mileage2.c $(CC) $(CFLAGS) -c mileage2.csort.o: sort.c sort.h $(CC) $(CFLAGS) -c sort.ctestsort.o: testsort.c sort.h $(CC) $(CFLAGS) -c testsort.ctestsort: testsort.o sort.o $(CC) $(CFLAGS) -o testsort testsort.o sort.ofindcoin: findcoin.o $(CC) $(CFLAGS) -o findcoin findcoin.omileage: mileage.o $(CC) $(CFLAGS) -o mileage mileage.omileage2: mileage2.o $(CC) $(CFLAGS) -o mileage2 mileage2.o
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -