⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 The art and science of c_source code!
💻
字号:
# Makefile for cbook/02-Learning-by-Example/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \    hello \    add2 \    add2f \    greeting \    inchtocm \    ave2f \    cmtofeet # ***************************************************************# 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 compilationshello.o: hello.c	$(CC) $(CFLAGS) -c hello.cadd2.o: add2.c	$(CC) $(CFLAGS) -c add2.cadd2f.o: add2f.c	$(CC) $(CFLAGS) -c add2f.cgreeting.o: greeting.c	$(CC) $(CFLAGS) -c greeting.cinchtocm.o: inchtocm.c	$(CC) $(CFLAGS) -c inchtocm.cave2f.o: ave2f.c	$(CC) $(CFLAGS) -c ave2f.ccmtofeet.o: cmtofeet.c	$(CC) $(CFLAGS) -c cmtofeet.chello: hello.o	$(CC) $(CFLAGS) -o hello hello.oadd2: add2.o	$(CC) $(CFLAGS) -o add2 add2.oadd2f: add2f.o	$(CC) $(CFLAGS) -o add2f add2f.ogreeting: greeting.o	$(CC) $(CFLAGS) -o greeting greeting.oinchtocm: inchtocm.o	$(CC) $(CFLAGS) -o inchtocm inchtocm.oave2f: ave2f.o	$(CC) $(CFLAGS) -o ave2f ave2f.ocmtofeet: cmtofeet.o	$(CC) $(CFLAGS) -o cmtofeet cmtofeet.o

⌨️ 快捷键说明

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