beta1.makefile

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

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

CPP = beta1
CPPFLAGS = -w-inl -w-csu
OFLAG = -e
.SUFFIXES : .obj .cpp .c
.cpp.obj :
	$(CPP) $(CPPFLAGS) -c $<
.c.obj :
	$(CPP) $(CPPFLAGS) -c $<

all: \
	Use.exe \
	Stshtst4.exe \
	Flags.exe \
	Bvtest.exe \

test: all
	Use.exe 
	Stshtst4.exe 
	Flags.exe 
	Bvtest.exe 

Use.exe: Use.obj Def.obj 
	$(CPP) $(OFLAG)Use.exe Use.obj Def.obj 

Stshtst4.exe: Stshtst4.obj Stash4.obj 
	$(CPP) $(OFLAG)Stshtst4.exe Stshtst4.obj Stash4.obj 

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

Bvtest.exe: Bvtest.obj Bitvect.obj 
	$(CPP) $(OFLAG)Bvtest.exe Bvtest.obj Bitvect.obj 


Def.obj: Def.cpp 
Use.obj: Use.cpp 
Stash4.obj: Stash4.cpp ..\require.h Stash4.h 
Stshtst4.obj: Stshtst4.cpp ..\require.h Stash4.h 
Flags.obj: Flags.cpp ..\require.h 
Bitvect.obj: Bitvect.cpp ..\require.h Bitvect.h 
Bvtest.obj: Bvtest.cpp Bitvect.h 

⌨️ 快捷键说明

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