📄 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 C02
# 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: \
Hello \
Stream2 \
Concat \
Numconv \
Incr \
Incident \
test: all
Hello
Stream2
Concat
Numconv
Incr
Incident
Hello: Hello.o
$(CPP) $(OFLAG)Hello Hello.o
Stream2: Stream2.o
$(CPP) $(OFLAG)Stream2 Stream2.o
Concat: Concat.o
$(CPP) $(OFLAG)Concat Concat.o
Numconv: Numconv.o
$(CPP) $(OFLAG)Numconv Numconv.o
Incr: Incr.o
$(CPP) $(OFLAG)Incr Incr.o
Incident: Incident.o
$(CPP) $(OFLAG)Incident Incident.o
Hello.o: Hello.cpp
Stream2.o: Stream2.cpp
Concat.o: Concat.cpp
Numconv.o: Numconv.cpp
Incr.o: Incr.cpp
Incident.o: Incident.cpp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -