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

📄 makefile

📁 The art and science of c_source code!
💻
字号:
# Makefile for cbook/08-Random-Numbers/programs# Created by the ExportAll facility# ***************************************************************PROGRAMS = \    randtest \    cointest \    dicetest \    craps # ***************************************************************# 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 compilationsrandtest.o: randtest.c	$(CC) $(CFLAGS) -c randtest.ccointest.o: cointest.c	$(CC) $(CFLAGS) -c cointest.cdicetest.o: dicetest.c	$(CC) $(CFLAGS) -c dicetest.ccraps.o: craps.c	$(CC) $(CFLAGS) -c craps.crandtest: randtest.o	$(CC) $(CFLAGS) -o randtest randtest.ocointest: cointest.o	$(CC) $(CFLAGS) -o cointest cointest.odicetest: dicetest.o	$(CC) $(CFLAGS) -o dicetest dicetest.ocraps: craps.o	$(CC) $(CFLAGS) -o craps craps.o

⌨️ 快捷键说明

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