windows-nt/Source/XPSP1/NT/sdktools/unicows/samples/mdidocvw/godot/mdi.mak
2020-09-26 16:20:57 +08:00

295 lines
6.8 KiB
Makefile

# Microsoft Developer Studio Generated NMAKE File, Based on mdi.dsp
!IF "$(CFG)" == ""
CFG=MDI - Win32 URelease
!MESSAGE No configuration specified. Defaulting to MDI - Win32 URelease.
!ENDIF
!IF "$(CFG)" != "MDI - Win32 UDebug" && "$(CFG)" != "MDI - Win32 URelease"
!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 "mdi.mak" CFG="MDI - Win32 URelease"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "MDI - Win32 UDebug" (based on "Win32 (x86) Application")
!MESSAGE "MDI - Win32 URelease" (based on "Win32 (x86) Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "MDI - Win32 UDebug"
OUTDIR=.\UDebug
INTDIR=.\UDebug
# Begin Custom Macros
OutDir=.\UDebug
# End Custom Macros
ALL : "$(OUTDIR)\mdi.exe"
CLEAN :
-@erase "$(INTDIR)\BncDoc.obj"
-@erase "$(INTDIR)\BncFrm.obj"
-@erase "$(INTDIR)\BncVw.obj"
-@erase "$(INTDIR)\HelloDoc.obj"
-@erase "$(INTDIR)\HelloFrm.obj"
-@erase "$(INTDIR)\HelloVw.obj"
-@erase "$(INTDIR)\MainFrm.obj"
-@erase "$(INTDIR)\MDI.obj"
-@erase "$(INTDIR)\mdi.pch"
-@erase "$(INTDIR)\MDI.res"
-@erase "$(INTDIR)\StdAfx.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\mdi.exe"
-@erase "$(OUTDIR)\mdi.ilk"
-@erase "$(OUTDIR)\mdi.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /Fp"$(INTDIR)\mdi.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\MDI.res" /d "_DEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\mdi.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=c:\nt\sdktools\unicows\delay\obj\i386\unicows.lib kernel32.lib gdi32.lib user32.lib ole32.lib oleaut32.lib oledlg.lib shell32.lib uuid.lib comctl32.lib comdlg32.lib advapi32.lib winspool.lib uafxcwd.lib libcmtd.lib /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\mdi.pdb" /debug /machine:I386 /nodefaultlib /out:"$(OUTDIR)\mdi.exe"
LINK32_OBJS= \
"$(INTDIR)\BncDoc.obj" \
"$(INTDIR)\BncFrm.obj" \
"$(INTDIR)\BncVw.obj" \
"$(INTDIR)\HelloDoc.obj" \
"$(INTDIR)\HelloFrm.obj" \
"$(INTDIR)\HelloVw.obj" \
"$(INTDIR)\MainFrm.obj" \
"$(INTDIR)\MDI.obj" \
"$(INTDIR)\StdAfx.obj" \
"$(INTDIR)\MDI.res"
"$(OUTDIR)\mdi.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "MDI - Win32 URelease"
OUTDIR=.\URelease
INTDIR=.\URelease
# Begin Custom Macros
OutDir=.\URelease
# End Custom Macros
ALL : "$(OUTDIR)\mdi.exe"
CLEAN :
-@erase "$(INTDIR)\BncDoc.obj"
-@erase "$(INTDIR)\BncFrm.obj"
-@erase "$(INTDIR)\BncVw.obj"
-@erase "$(INTDIR)\HelloDoc.obj"
-@erase "$(INTDIR)\HelloFrm.obj"
-@erase "$(INTDIR)\HelloVw.obj"
-@erase "$(INTDIR)\MainFrm.obj"
-@erase "$(INTDIR)\MDI.obj"
-@erase "$(INTDIR)\mdi.pch"
-@erase "$(INTDIR)\MDI.res"
-@erase "$(INTDIR)\StdAfx.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(OUTDIR)\mdi.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_UNICODE" /Fp"$(INTDIR)\mdi.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\MDI.res" /d "NDEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\mdi.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=c:\nt\sdktools\unicows\delay\obj\i386\unicows.lib kernel32.lib gdi32.lib user32.lib ole32.lib oleaut32.lib oledlg.lib shell32.lib uuid.lib comctl32.lib comdlg32.lib advapi32.lib winspool.lib uafxcw.lib libcmt.lib /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\mdi.pdb" /machine:I386 /nodefaultlib /out:"$(OUTDIR)\mdi.exe"
LINK32_OBJS= \
"$(INTDIR)\BncDoc.obj" \
"$(INTDIR)\BncFrm.obj" \
"$(INTDIR)\BncVw.obj" \
"$(INTDIR)\HelloDoc.obj" \
"$(INTDIR)\HelloFrm.obj" \
"$(INTDIR)\HelloVw.obj" \
"$(INTDIR)\MainFrm.obj" \
"$(INTDIR)\MDI.obj" \
"$(INTDIR)\StdAfx.obj" \
"$(INTDIR)\MDI.res"
"$(OUTDIR)\mdi.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ENDIF
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("mdi.dep")
!INCLUDE "mdi.dep"
!ELSE
!MESSAGE Warning: cannot find "mdi.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "MDI - Win32 UDebug" || "$(CFG)" == "MDI - Win32 URelease"
SOURCE=.\BncDoc.cpp
"$(INTDIR)\BncDoc.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\mdi.pch"
SOURCE=.\BncFrm.cpp
"$(INTDIR)\BncFrm.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\mdi.pch"
SOURCE=.\BncVw.cpp
"$(INTDIR)\BncVw.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\mdi.pch"
SOURCE=.\HelloDoc.cpp
"$(INTDIR)\HelloDoc.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\mdi.pch"
SOURCE=.\HelloFrm.cpp
"$(INTDIR)\HelloFrm.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\mdi.pch"
SOURCE=.\HelloVw.cpp
"$(INTDIR)\HelloVw.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\mdi.pch"
SOURCE=.\MainFrm.cpp
"$(INTDIR)\MainFrm.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\mdi.pch"
SOURCE=.\MDI.cpp
"$(INTDIR)\MDI.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\mdi.pch"
SOURCE=.\MDI.rc
"$(INTDIR)\MDI.res" : $(SOURCE) "$(INTDIR)"
$(RSC) $(RSC_PROJ) $(SOURCE)
SOURCE=.\StdAfx.cpp
!IF "$(CFG)" == "MDI - Win32 UDebug"
CPP_SWITCHES=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /Fp"$(INTDIR)\mdi.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\mdi.pch" : $(SOURCE) "$(INTDIR)"
$(CPP) @<<
$(CPP_SWITCHES) $(SOURCE)
<<
!ELSEIF "$(CFG)" == "MDI - Win32 URelease"
CPP_SWITCHES=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_UNICODE" /Fp"$(INTDIR)\mdi.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\mdi.pch" : $(SOURCE) "$(INTDIR)"
$(CPP) @<<
$(CPP_SWITCHES) $(SOURCE)
<<
!ENDIF
!ENDIF