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

📄 egcs.makefile

📁 Think in C++ 第二版源码
💻 MAKEFILE
字号:
# 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 C06
# 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: \
	Constructor1 \
	DefineInitialize \
	Nojump \
	Stash2Test \
	Stack3Test \
	Multiarg \
	AutoDefaultConstructor 

test: all 
	Constructor1  
	DefineInitialize  
	Nojump  
	Stash2Test  
	Stack3Test  
	Multiarg  
	AutoDefaultConstructor  

bugs: 
	@echo No compiler bugs in this directory!

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

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

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

Stash2Test: Stash2Test.o Stash2.o 
	$(CPP) $(OFLAG)Stash2Test Stash2Test.o Stash2.o 

Stack3Test: Stack3Test.o Stack3.o 
	$(CPP) $(OFLAG)Stack3Test Stack3Test.o Stack3.o 

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

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


Constructor1.o: Constructor1.cpp 
DefineInitialize.o: DefineInitialize.cpp ../require.h 
Nojump.o: Nojump.cpp 
Stash2.o: Stash2.cpp Stash2.h 
Stash2Test.o: Stash2Test.cpp Stash2.h ../require.h 
Stack3.o: Stack3.cpp Stack3.h ../require.h 
Stack3Test.o: Stack3Test.cpp Stack3.h ../require.h 
Multiarg.o: Multiarg.cpp 
AutoDefaultConstructor.o: AutoDefaultConstructor.cpp 

⌨️ 快捷键说明

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