env.mak
来自「经典教材:java核心技术卷1、卷2的所有源代码」· MAK 代码 · 共 35 行
MAK
35 行
# Pre-requisite:
#
# Make sure that you have environment variable LIB and INCLUDE setup for
# using Developer studio from the command line. Usually, this is accomplished
# by source the vcvars32.bat file.
#
# Where is the top of this distribution. All executable, library and include
# directories are relative to this variable.
#
TOP = d:\omniorb
##########################################################################
# Essential flags to use omniORB2
#
DIR_CPPFLAGS = -I. -I$(TOP)\include
#
#
CORBA_CPPFLAGS = -D__WIN32__ -D__x86__ -D__NT__ -D__OSVERSION__=4
CORBA_LIB = omniORB271_rt.lib omnithread2_rt.lib wsock32.lib advapi32.lib \
-libpath:$(TOP)\lib\x86_win32
CXXFLAGS = -O2 -MD -GX $(CORBA_CPPFLAGS) $(DIR_CPPFLAGS)
CXXLINKOPTIONS =
.SUFFIXES: .cpp
.cpp.obj:
cl /nologo /c $(CXXFLAGS) /Tp$<
EnvServer.exe: EnvServer.obj EnvSK.obj
link -nologo $(CXXLINKOPTIONS) -out:$@ $** $(CORBA_LIB)
Env.hh EnvSK.cpp: Env.idl
$(TOP)\bin\x86_win32\omniidl2 -a -t -h .hh -s SK.cpp Env.idl
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?