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