?? gcc.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 gcc compiler
# Note: does not make files that will
# not compile with this compiler
# Invoke with: make -f gcc.makefile
CPP = g++
OFLAG = -o
.SUFFIXES : .o .cpp .c
.cpp.o :
$(CPP) $(CPPFLAGS) -c $<
.c.o :
$(CPP) $(CPPFLAGS) -c $<
all: \
CLibTest \
CppLibTest \
Sizeof \
StackTest \
Scoperes
test: all
CLibTest
CppLibTest
Sizeof
StackTest StackTest.cpp
Scoperes
bugs:
@echo No compiler bugs in this directory!
CLibTest: CLibTest.o CLib.o
$(CPP) $(OFLAG)CLibTest CLibTest.o CLib.o
CppLibTest: CppLibTest.o CppLib.o
$(CPP) $(OFLAG)CppLibTest CppLibTest.o CppLib.o
Sizeof: Sizeof.o
$(CPP) $(OFLAG)Sizeof Sizeof.o
StackTest: StackTest.o Stack.o
$(CPP) $(OFLAG)StackTest StackTest.o Stack.o
Scoperes: Scoperes.o
$(CPP) $(OFLAG)Scoperes Scoperes.o
CLib.o: CLib.cpp CLib.h
CLibTest.o: CLibTest.cpp CLib.h
CppLib.o: CppLib.cpp CppLib.h
CppLibTest.o: CppLibTest.cpp CppLib.h ../require.h
Sizeof.o: Sizeof.cpp CLib.h CppLib.h
Stack.o: Stack.cpp Stack.h ../require.h
StackTest.o: StackTest.cpp Stack.h ../require.h
Scoperes.o: Scoperes.cpp
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -