egcs.makefile

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

MAKEFILE
38
字号
# 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 C
# 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: \
	ShapeV \
	ShapeV2 \

test: all
	ShapeV 
	ShapeV2 

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

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


ShapeV.o: ShapeV.cpp ../purge.h 
ShapeV2.o: ShapeV2.cpp ../purge.h 

⌨️ 快捷键说明

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