egcs.makefile

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

MAKEFILE
53
字号
# 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 C07
# 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: \
	Use \
	Stshtst4 \
	Flags \
	Bvtest \

test: all
	Use 
	Stshtst4 
	Flags 
	Bvtest 

Use: Use.o Def.o 
	$(CPP) $(OFLAG)Use Use.o Def.o 

Stshtst4: Stshtst4.o Stash4.o 
	$(CPP) $(OFLAG)Stshtst4 Stshtst4.o Stash4.o 

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

Bvtest: Bvtest.o Bitvect.o 
	$(CPP) $(OFLAG)Bvtest Bvtest.o Bitvect.o 


Def.o: Def.cpp 
Use.o: Use.cpp 
Stash4.o: Stash4.cpp ../require.h Stash4.h 
Stshtst4.o: Stshtst4.cpp ../require.h Stash4.h 
Flags.o: Flags.cpp ../require.h 
Bitvect.o: Bitvect.cpp ../require.h Bitvect.h 
Bvtest.o: Bvtest.cpp Bitvect.h 

⌨️ 快捷键说明

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