egcs.makefile

来自「Thinking_in_C___2.rar」· MAKEFILE 代码 · 共 59 行

MAKEFILE
59
字号
# 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: \
	Constr1 \
	Definit \
	Stshtst3 \
	Stktst3 \
	Multiarg \

test: all
	Constr1 
	Definit 
	Stshtst3 
	Stktst3 
	Multiarg 

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

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

Stshtst3: Stshtst3.o Stash3.o 
	$(CPP) $(OFLAG)Stshtst3 Stshtst3.o Stash3.o 

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

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


Constr1.o: Constr1.cpp 
Definit.o: Definit.cpp ../require.h 
Nojump.o: Nojump.cpp 
Stash3.o: Stash3.cpp ../require.h Stash3.h 
Stshtst3.o: Stshtst3.cpp ../require.h Stash3.h 
Stack3.o: Stack3.cpp ../require.h Stack3.h 
Stktst3.o: Stktst3.cpp ../require.h Stack3.h 
Multiarg.o: Multiarg.cpp 

⌨️ 快捷键说明

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