gamedll.mak
来自「著名物理引擎Hawk的源代码」· MAK 代码 · 共 372 行
MAK
372 行
# Microsoft Developer Studio Generated NMAKE File, Based on gamedll.dsp
!IF "$(CFG)" == ""
CFG=gamedll - Win32 Debug
!MESSAGE No configuration specified. Defaulting to gamedll - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "gamedll - Win32 Release" && "$(CFG)" !=\
"gamedll - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "gamedll.mak" CFG="gamedll - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "gamedll - Win32 Release" (based on\
"Win32 (x86) Dynamic-Link Library")
!MESSAGE "gamedll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "gamedll - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\game.dll"
!ELSE
ALL : "$(OUTDIR)\game.dll"
!ENDIF
CLEAN :
-@erase "$(INTDIR)\G_main.obj"
-@erase "$(INTDIR)\G_math.obj"
-@erase "$(INTDIR)\G_object.obj"
-@erase "$(INTDIR)\G_spawn.obj"
-@erase "$(INTDIR)\G_view.obj"
-@erase "$(INTDIR)\vc50.idb"
-@erase "$(OUTDIR)\game.dll"
-@erase "$(OUTDIR)\game.exp"
-@erase "$(OUTDIR)\game.lib"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /G5 /ML /W3 /GX /O2 /I "../hawkdll/" /I "../hawklib/" /D\
"WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp"$(INTDIR)\gamedll.pch" /YX\
/Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_OBJS=.\Release/
CPP_SBRS=.
.c{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\gamedll.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
odbccp32.lib /nologo /subsystem:windows /dll /incremental:no\
/pdb:"$(OUTDIR)\game.pdb" /machine:I386 /def:".\gamedll.def"\
/out:"$(OUTDIR)\game.dll" /implib:"$(OUTDIR)\game.lib"
DEF_FILE= \
".\gamedll.def"
LINK32_OBJS= \
"$(INTDIR)\G_main.obj" \
"$(INTDIR)\G_math.obj" \
"$(INTDIR)\G_object.obj" \
"$(INTDIR)\G_spawn.obj" \
"$(INTDIR)\G_view.obj"
"$(OUTDIR)\game.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
SOURCE=$(InputPath)
DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
ALL : $(DS_POSTBUILD_DEP)
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros
$(DS_POSTBUILD_DEP) : "$(OUTDIR)\game.dll"
copy release\*.dll ..\release
echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
!ELSEIF "$(CFG)" == "gamedll - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\game.dll"
!ELSE
ALL : "$(OUTDIR)\game.dll"
!ENDIF
CLEAN :
-@erase "$(INTDIR)\G_main.obj"
-@erase "$(INTDIR)\G_math.obj"
-@erase "$(INTDIR)\G_object.obj"
-@erase "$(INTDIR)\G_spawn.obj"
-@erase "$(INTDIR)\G_view.obj"
-@erase "$(INTDIR)\vc50.idb"
-@erase "$(INTDIR)\vc50.pdb"
-@erase "$(OUTDIR)\game.dll"
-@erase "$(OUTDIR)\game.exp"
-@erase "$(OUTDIR)\game.ilk"
-@erase "$(OUTDIR)\game.lib"
-@erase "$(OUTDIR)\game.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /ML /W3 /Gm /GX /Zi /Od /I "../hawkdll/" /I "../hawklib/" /D\
"WIN32" /D "_DEBUG" /D "_WINDOWS" /Fp"$(INTDIR)\gamedll.pch" /YX\
/Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_OBJS=.\Debug/
CPP_SBRS=.
.c{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\gamedll.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
odbccp32.lib /nologo /subsystem:windows /dll /incremental:yes\
/pdb:"$(OUTDIR)\game.pdb" /debug /machine:I386 /def:".\gamedll.def"\
/out:"$(OUTDIR)\game.dll" /implib:"$(OUTDIR)\game.lib" /pdbtype:sept
DEF_FILE= \
".\gamedll.def"
LINK32_OBJS= \
"$(INTDIR)\G_main.obj" \
"$(INTDIR)\G_math.obj" \
"$(INTDIR)\G_object.obj" \
"$(INTDIR)\G_spawn.obj" \
"$(INTDIR)\G_view.obj"
"$(OUTDIR)\game.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
SOURCE=$(InputPath)
DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
ALL : $(DS_POSTBUILD_DEP)
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
$(DS_POSTBUILD_DEP) : "$(OUTDIR)\game.dll"
copy debug\*.dll ..\debug
echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
!ENDIF
!IF "$(CFG)" == "gamedll - Win32 Release" || "$(CFG)" ==\
"gamedll - Win32 Debug"
SOURCE=.\G_main.c
DEP_CPP_G_MAI=\
"..\hawkdll\hawk.h"\
".\G_main.h"\
"$(INTDIR)\G_main.obj" : $(SOURCE) $(DEP_CPP_G_MAI) "$(INTDIR)"
SOURCE=.\G_math.c
!IF "$(CFG)" == "gamedll - Win32 Release"
DEP_CPP_G_MAT=\
"..\hawkdll\hawk.h"\
".\G_math.h"\
"$(INTDIR)\G_math.obj" : $(SOURCE) $(DEP_CPP_G_MAT) "$(INTDIR)"
!ELSEIF "$(CFG)" == "gamedll - Win32 Debug"
DEP_CPP_G_MAT=\
"..\hawkdll\hawk.h"\
".\G_math.h"\
"$(INTDIR)\G_math.obj" : $(SOURCE) $(DEP_CPP_G_MAT) "$(INTDIR)"
!ENDIF
SOURCE=.\G_object.c
!IF "$(CFG)" == "gamedll - Win32 Release"
DEP_CPP_G_OBJ=\
"..\hawkdll\hawk.h"\
".\G_main.h"\
".\G_math.h"\
".\M_player.h"\
"$(INTDIR)\G_object.obj" : $(SOURCE) $(DEP_CPP_G_OBJ) "$(INTDIR)"
!ELSEIF "$(CFG)" == "gamedll - Win32 Debug"
DEP_CPP_G_OBJ=\
"..\hawkdll\hawk.h"\
".\G_main.h"\
".\G_math.h"\
".\M_player.h"\
"$(INTDIR)\G_object.obj" : $(SOURCE) $(DEP_CPP_G_OBJ) "$(INTDIR)"
!ENDIF
SOURCE=.\G_spawn.c
!IF "$(CFG)" == "gamedll - Win32 Release"
DEP_CPP_G_SPA=\
"..\hawkdll\hawk.h"\
".\G_main.h"\
".\M_player.h"\
"$(INTDIR)\G_spawn.obj" : $(SOURCE) $(DEP_CPP_G_SPA) "$(INTDIR)"
!ELSEIF "$(CFG)" == "gamedll - Win32 Debug"
DEP_CPP_G_SPA=\
"..\hawkdll\hawk.h"\
".\G_main.h"\
".\M_player.h"\
"$(INTDIR)\G_spawn.obj" : $(SOURCE) $(DEP_CPP_G_SPA) "$(INTDIR)"
!ENDIF
SOURCE=.\G_view.c
!IF "$(CFG)" == "gamedll - Win32 Release"
DEP_CPP_G_VIE=\
"..\hawkdll\hawk.h"\
".\G_main.h"\
".\G_math.h"\
"$(INTDIR)\G_view.obj" : $(SOURCE) $(DEP_CPP_G_VIE) "$(INTDIR)"
!ELSEIF "$(CFG)" == "gamedll - Win32 Debug"
DEP_CPP_G_VIE=\
"..\hawkdll\hawk.h"\
".\G_main.h"\
".\G_math.h"\
"$(INTDIR)\G_view.obj" : $(SOURCE) $(DEP_CPP_G_VIE) "$(INTDIR)"
!ENDIF
!ENDIF
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?