egcs.makefile

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

MAKEFILE
80
字号
# 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 C23
# using the egcs compiler
# Note: does not make files that will 
# not compile with this compiler
# Invoke with: make -f egcs.makefile

CPP = g++
OFLAG = -o
.SUFFIXES : .o .cpp .c
.cpp.o :
	$(CPP) $(CPPFLAGS) -c $<
.c.o :
	$(CPP) $(CPPFLAGS) -c $<

all: \
	Nonlocal \
	Except \
	Trmnator \
	Cleanup \
	Nudep \
	Wrapped \
	Autoexcp \
	Basexcpt \
	Catchref \

test: all
	Nonlocal 
	Except 
	Trmnator 
	Cleanup 
	Nudep 
	Wrapped 
	Autoexcp 
	Basexcpt 
	Catchref 

Nonlocal: Nonlocal.o 
	$(CPP) $(OFLAG)Nonlocal Nonlocal.o 

Except: Except.o 
	$(CPP) $(OFLAG)Except Except.o 

Trmnator: Trmnator.o 
	$(CPP) $(OFLAG)Trmnator Trmnator.o 

Cleanup: Cleanup.o 
	$(CPP) $(OFLAG)Cleanup Cleanup.o 

Nudep: Nudep.o 
	$(CPP) $(OFLAG)Nudep Nudep.o 

Wrapped: Wrapped.o 
	$(CPP) $(OFLAG)Wrapped Wrapped.o 

Autoexcp: Autoexcp.o 
	$(CPP) $(OFLAG)Autoexcp Autoexcp.o 

Basexcpt: Basexcpt.o 
	$(CPP) $(OFLAG)Basexcpt Basexcpt.o 

Catchref: Catchref.o 
	$(CPP) $(OFLAG)Catchref Catchref.o 


Nonlocal.o: Nonlocal.cpp 
Except.o: Except.cpp 
Trmnator.o: Trmnator.cpp 
Cleanup.o: Cleanup.cpp 
Nudep.o: Nudep.cpp 
Wrapped.o: Wrapped.cpp 
Autoexcp.o: Autoexcp.cpp 
Basexcpt.o: Basexcpt.cpp 
Catchref.o: Catchref.cpp 

⌨️ 快捷键说明

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