borland.makefile

来自「C++编程思想第二版第一册答案」· MAKEFILE 代码 · 共 39 行

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

# Note: this requires the upgrade from
# www.Borland.com for successful compilation!
CPP = Bcc32
CPPFLAGS = -w-inl -w-csu -wnak
OFLAG = -e
.SUFFIXES : .obj .cpp .c
.cpp.obj :
	$(CPP) $(CPPFLAGS) -c $<
.c.obj :
	$(CPP) $(CPPFLAGS) -c $<

all: \
	BikeTest.exe 

test: all 
	BikeTest.exe  

bugs: 
	@echo No compiler bugs in this directory!

BikeTest.exe: BikeTest.obj Bicycle.obj 
	$(CPP) $(OFLAG)BikeTest.exe BikeTest.obj Bicycle.obj 


Bicycle.obj: Bicycle.cpp Bicycle.h 
BikeTest.obj: BikeTest.cpp Bicycle.h 

⌨️ 快捷键说明

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