makefile
来自「书名:C语言科学与艺术,以前交钱下载的」· 代码 · 共 61 行
TXT
61 行
# Makefile for cbook/11-Arrays/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \ gymjudge \ reverse \ testrev \ countlet # ***************************************************************# 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 compilationsgymjudge.o: gymjudge.c $(CC) $(CFLAGS) -c gymjudge.creverse.o: reverse.c $(CC) $(CFLAGS) -c reverse.ctestrev.o: testrev.c $(CC) $(CFLAGS) -c testrev.ccountlet.o: countlet.c $(CC) $(CFLAGS) -c countlet.cgymjudge: gymjudge.o $(CC) $(CFLAGS) -o gymjudge gymjudge.oreverse: reverse.o $(CC) $(CFLAGS) -o reverse reverse.otestrev: testrev.o $(CC) $(CFLAGS) -o testrev testrev.ocountlet: countlet.o $(CC) $(CFLAGS) -o countlet countlet.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?