makefile

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

TXT
96
字号
# Makefile for cbook/09-Strings/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \    acronym \    addlist \    lastchar \    linelen \    ncopies \    protect \    reverse \    secondh \    repfirst # ***************************************************************# 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 compilationsacronym.o: acronym.c	$(CC) $(CFLAGS) -c acronym.caddlist.o: addlist.c	$(CC) $(CFLAGS) -c addlist.clastchar.o: lastchar.c	$(CC) $(CFLAGS) -c lastchar.clinelen.o: linelen.c	$(CC) $(CFLAGS) -c linelen.cncopies.o: ncopies.c	$(CC) $(CFLAGS) -c ncopies.cprotect.o: protect.c	$(CC) $(CFLAGS) -c protect.creverse.o: reverse.c	$(CC) $(CFLAGS) -c reverse.csecondh.o: secondh.c	$(CC) $(CFLAGS) -c secondh.crepfirst.o: repfirst.c	$(CC) $(CFLAGS) -c repfirst.cacronym: acronym.o	$(CC) $(CFLAGS) -o acronym acronym.oaddlist: addlist.o	$(CC) $(CFLAGS) -o addlist addlist.olastchar: lastchar.o	$(CC) $(CFLAGS) -o lastchar lastchar.olinelen: linelen.o	$(CC) $(CFLAGS) -o linelen linelen.oncopies: ncopies.o	$(CC) $(CFLAGS) -o ncopies ncopies.oprotect: protect.o	$(CC) $(CFLAGS) -o protect protect.oreverse: reverse.o	$(CC) $(CFLAGS) -o reverse reverse.osecondh: secondh.o	$(CC) $(CFLAGS) -o secondh secondh.orepfirst: repfirst.o	$(CC) $(CFLAGS) -o repfirst repfirst.o

⌨️ 快捷键说明

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