egcs.makefile
来自「Thinking_in_C___2.rar」· MAKEFILE 代码 · 共 62 行
MAKEFILE
62 行
# 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 + =
减小字号Ctrl + -
显示快捷键?