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

📄 borland.makefile

📁 这是介绍C++非常经典的一本书,无论是初学者还是对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 C04
# using the Borland compiler
# Note: does not make files that will 
# not compile with this compiler
# Invoke with: make -f Borland.makefile

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: \
	CLibTest.exe \
	CppLibTest.exe \
	Sizeof.exe \
	StackTest.exe \
	Scoperes.exe 

test: all 
	CLibTest.exe  
	CppLibTest.exe  
	Sizeof.exe  
	StackTest.exe StackTest.cpp 
	Scoperes.exe  

bugs: 
	@echo No compiler bugs in this directory!

CLibTest.exe: CLibTest.obj CLib.obj 
	$(CPP) $(OFLAG)CLibTest.exe CLibTest.obj CLib.obj 

CppLibTest.exe: CppLibTest.obj CppLib.obj 
	$(CPP) $(OFLAG)CppLibTest.exe CppLibTest.obj CppLib.obj 

Sizeof.exe: Sizeof.obj 
	$(CPP) $(OFLAG)Sizeof.exe Sizeof.obj 

StackTest.exe: StackTest.obj Stack.obj 
	$(CPP) $(OFLAG)StackTest.exe StackTest.obj Stack.obj 

Scoperes.exe: Scoperes.obj 
	$(CPP) $(OFLAG)Scoperes.exe Scoperes.obj 


CLib.obj: CLib.cpp CLib.h 
CLibTest.obj: CLibTest.cpp CLib.h 
CppLib.obj: CppLib.cpp CppLib.h 
CppLibTest.obj: CppLibTest.cpp CppLib.h ..\require.h 
Sizeof.obj: Sizeof.cpp CLib.h CppLib.h 
Stack.obj: Stack.cpp Stack.h ..\require.h 
StackTest.obj: StackTest.cpp Stack.h ..\require.h 
Scoperes.obj: Scoperes.cpp 

⌨️ 快捷键说明

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