📄 egcs.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 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: \
Declare \
Libtestc \
Libtest \
Sizeof \
NestTest \
test: all
Declare
Libtestc
Libtest
Sizeof
NestTest NestTest.cpp
Declare: Declare.o
$(CPP) $(OFLAG)Declare Declare.o
Libtestc: Libtestc.o Lib.o
$(CPP) $(OFLAG)Libtestc Libtestc.o Lib.o
Libtest: Libtest.o Libcpp.o
$(CPP) $(OFLAG)Libtest Libtest.o Libcpp.o
Sizeof: Sizeof.o
$(CPP) $(OFLAG)Sizeof Sizeof.o
NestTest: NestTest.o Nested.o
$(CPP) $(OFLAG)NestTest NestTest.o Nested.o
Declare.o: Declare.c
Lib.o: Lib.c Lib.h
Libtestc.o: Libtestc.c Lib.h
Libcpp.o: Libcpp.cpp ../require.h Libcpp.h
Libtest.o: Libtest.cpp ../require.h Libcpp.h
Sizeof.o: Sizeof.cpp Lib.h Libcpp.h
Nested.o: Nested.cpp ../require.h Nested.h
NestTest.o: NestTest.cpp ../require.h Nested.h
Scoperes.o: Scoperes.cpp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -