📄 makefile
字号:
# Makefile for cbook/07-Graphics/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \ arc1 \ arc2 \ drawcirc \ drawcbox \ oneline \ drawbox \ house # ***************************************************************# 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 compilationsarc1.o: arc1.c $(CC) $(CFLAGS) -c arc1.carc2.o: arc2.c $(CC) $(CFLAGS) -c arc2.cdrawcirc.o: drawcirc.c $(CC) $(CFLAGS) -c drawcirc.cdrawcbox.o: drawcbox.c $(CC) $(CFLAGS) -c drawcbox.coneline.o: oneline.c $(CC) $(CFLAGS) -c oneline.cdrawbox.o: drawbox.c $(CC) $(CFLAGS) -c drawbox.chouse.o: house.c $(CC) $(CFLAGS) -c house.carc1: arc1.o $(CC) $(CFLAGS) -o arc1 arc1.oarc2: arc2.o $(CC) $(CFLAGS) -o arc2 arc2.odrawcirc: drawcirc.o $(CC) $(CFLAGS) -o drawcirc drawcirc.odrawcbox: drawcbox.o $(CC) $(CFLAGS) -o drawcbox drawcbox.ooneline: oneline.o $(CC) $(CFLAGS) -o oneline oneline.odrawbox: drawbox.o $(CC) $(CFLAGS) -o drawbox drawbox.ohouse: house.o $(CC) $(CFLAGS) -o house house.o
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -