?? microsoft.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 C05
# using the Microsoft compiler
# Note: does not make files that will
# not compile with this compiler
# Invoke with: make -f Microsoft.makefile
# Note: this requires the service Pack 3 from
# www.Microsoft.com for successful compilation!
# Also, you cannot run the "test" makefiles
# unless you go through and put 'return 0;' at
# the end of every main(), because VC++ does not
# follow the C++ Standard for defaulting return
# values from main().
CPP = cl
CPPFLAGS = -GX -GR
OFLAG = -o
.SUFFIXES : .obj .cpp .c
.cpp.obj :
$(CPP) $(CPPFLAGS) -c $<
.c.obj :
$(CPP) $(CPPFLAGS) -c $<
all: \
Public.exe \
Private.exe \
Friend.exe \
NestFriend.exe \
Class.exe \
UseHandle.exe
test: all
Public.exe
Private.exe
Friend.exe
NestFriend.exe
Class.exe
UseHandle.exe
bugs:
@echo No compiler bugs in this directory!
Public.exe: Public.obj
$(CPP) $(OFLAG)Public.exe Public.obj
Private.exe: Private.obj
$(CPP) $(OFLAG)Private.exe Private.obj
Friend.exe: Friend.obj
$(CPP) $(OFLAG)Friend.exe Friend.obj
NestFriend.exe: NestFriend.obj
$(CPP) $(OFLAG)NestFriend.exe NestFriend.obj
Class.exe: Class.obj
$(CPP) $(OFLAG)Class.exe Class.obj
UseHandle.exe: UseHandle.obj Handle.obj
$(CPP) $(OFLAG)UseHandle.exe UseHandle.obj Handle.obj
Public.obj: Public.cpp
Private.obj: Private.cpp
Friend.obj: Friend.cpp
NestFriend.obj: NestFriend.cpp
Class.obj: Class.cpp
Handle.obj: Handle.cpp Handle.h ..\require.h
UseHandle.obj: UseHandle.cpp Handle.h
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -