makefile

来自「书名:C语言科学与艺术,以前交钱下载的」· 代码 · 共 50 行

TXT
50
字号
# Makefile for cbook/13-Pointers/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \    testsort \    hours # ***************************************************************# 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 compilationshours.o: hours.c	$(CC) $(CFLAGS) -c hours.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.ohours: hours.o	$(CC) $(CFLAGS) -o hours hours.o

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?