all.makefile

来自「Thinking in C++ 2nd edition source code 」· MAKEFILE 代码 · 共 60 行

MAKEFILE
60
字号
# From Thinking in C++, 2nd Edition
# At http://www.BruceEckel.com
# (c) Bruce Eckel 1999
# Copyright notice in Copyright.txt
# Automatically-generated MAKEFILE 
# For examples in directory C02
# using the all compiler
# Note: does not make files that will 
# not compile with this compiler
# Invoke with: make -f all.makefile

.SUFFIXES : .obj .cpp .c
.cpp.obj :
	$(CPP) $(CPPFLAGS) -c $<
.c.obj :
	$(CPP) $(CPPFLAGS) -c $<

all: \
	Hello.exe \
	Stream2.exe \
	Concat.exe \
	Numconv.exe \
	Incr.exe \
	Incident.exe \

test: all
	Hello.exe 
	Stream2.exe 
	Concat.exe 
	Numconv.exe 
	Incr.exe 
	Incident.exe 

Hello.exe: Hello.obj 
	$(CPP) $(OFLAG)Hello.exe Hello.obj 

Stream2.exe: Stream2.obj 
	$(CPP) $(OFLAG)Stream2.exe Stream2.obj 

Concat.exe: Concat.obj 
	$(CPP) $(OFLAG)Concat.exe Concat.obj 

Numconv.exe: Numconv.obj 
	$(CPP) $(OFLAG)Numconv.exe Numconv.obj 

Incr.exe: Incr.obj 
	$(CPP) $(OFLAG)Incr.exe Incr.obj 

Incident.exe: Incident.obj 
	$(CPP) $(OFLAG)Incident.exe Incident.obj 


Hello.obj: Hello.cpp 
Stream2.obj: Stream2.cpp 
Concat.obj: Concat.cpp 
Numconv.obj: Numconv.cpp 
Incr.obj: Incr.cpp 
Incident.obj: Incident.cpp 

⌨️ 快捷键说明

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