232 lines
5.5 KiB
Makefile
232 lines
5.5 KiB
Makefile
# Microsoft Developer Studio Generated NMAKE File, Based on hello.dsp
|
|
!IF "$(CFG)" == ""
|
|
CFG=Hello - Win32 Release
|
|
!MESSAGE No configuration specified. Defaulting to Hello - Win32 Release.
|
|
!ENDIF
|
|
|
|
!IF "$(CFG)" != "Hello - Win32 Release" && "$(CFG)" != "Hello - 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 "hello.mak" CFG="Hello - Win32 Release"
|
|
!MESSAGE
|
|
!MESSAGE Possible choices for configuration are:
|
|
!MESSAGE
|
|
!MESSAGE "Hello - Win32 Release" (based on "Win32 (x86) Application")
|
|
!MESSAGE "Hello - Win32 Debug" (based on "Win32 (x86) Application")
|
|
!MESSAGE
|
|
!ERROR An invalid configuration is specified.
|
|
!ENDIF
|
|
|
|
!IF "$(OS)" == "Windows_NT"
|
|
NULL=
|
|
!ELSE
|
|
NULL=nul
|
|
!ENDIF
|
|
|
|
!IF "$(CFG)" == "Hello - Win32 Release"
|
|
|
|
OUTDIR=.\Release
|
|
INTDIR=.\Release
|
|
# Begin Custom Macros
|
|
OutDir=.\Release
|
|
# End Custom Macros
|
|
|
|
ALL : "$(OUTDIR)\hello.exe"
|
|
|
|
|
|
CLEAN :
|
|
-@erase "$(INTDIR)\hello.obj"
|
|
-@erase "$(INTDIR)\hello.pch"
|
|
-@erase "$(INTDIR)\hello.res"
|
|
-@erase "$(INTDIR)\stdafx.obj"
|
|
-@erase "$(INTDIR)\vc60.idb"
|
|
-@erase "$(OUTDIR)\hello.exe"
|
|
|
|
"$(OUTDIR)" :
|
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
|
|
|
CPP=cl.exe
|
|
CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\hello.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)\hello.res" /d "NDEBUG"
|
|
BSC32=bscmake.exe
|
|
BSC32_FLAGS=/nologo /o"$(OUTDIR)\hello.bsc"
|
|
BSC32_SBRS= \
|
|
|
|
LINK32=link.exe
|
|
LINK32_FLAGS=c:\nt\public\sdk\lib\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)\hello.pdb" /machine:I386 /nodefaultlib /out:"$(OUTDIR)\hello.exe"
|
|
LINK32_OBJS= \
|
|
"$(INTDIR)\hello.obj" \
|
|
"$(INTDIR)\stdafx.obj" \
|
|
"$(INTDIR)\hello.res"
|
|
|
|
"$(OUTDIR)\hello.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
|
$(LINK32) @<<
|
|
$(LINK32_FLAGS) $(LINK32_OBJS)
|
|
<<
|
|
|
|
!ELSEIF "$(CFG)" == "Hello - Win32 Debug"
|
|
|
|
OUTDIR=.\Debug
|
|
INTDIR=.\Debug
|
|
# Begin Custom Macros
|
|
OutDir=.\Debug
|
|
# End Custom Macros
|
|
|
|
ALL : "$(OUTDIR)\hello.exe"
|
|
|
|
|
|
CLEAN :
|
|
-@erase "$(INTDIR)\hello.obj"
|
|
-@erase "$(INTDIR)\hello.pch"
|
|
-@erase "$(INTDIR)\hello.res"
|
|
-@erase "$(INTDIR)\stdafx.obj"
|
|
-@erase "$(INTDIR)\vc60.idb"
|
|
-@erase "$(INTDIR)\vc60.pdb"
|
|
-@erase "$(OUTDIR)\hello.exe"
|
|
-@erase "$(OUTDIR)\hello.ilk"
|
|
-@erase "$(OUTDIR)\hello.pdb"
|
|
|
|
"$(OUTDIR)" :
|
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
|
|
|
CPP=cl.exe
|
|
CPP_PROJ=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\hello.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)\hello.res" /d "_DEBUG"
|
|
BSC32=bscmake.exe
|
|
BSC32_FLAGS=/nologo /o"$(OUTDIR)\hello.bsc"
|
|
BSC32_SBRS= \
|
|
|
|
LINK32=link.exe
|
|
LINK32_FLAGS=c:\nt\public\sdk\lib\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)\hello.pdb" /debug /machine:I386 /nodefaultlib /out:"$(OUTDIR)\hello.exe"
|
|
LINK32_OBJS= \
|
|
"$(INTDIR)\hello.obj" \
|
|
"$(INTDIR)\stdafx.obj" \
|
|
"$(INTDIR)\hello.res"
|
|
|
|
"$(OUTDIR)\hello.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
|
$(LINK32) @<<
|
|
$(LINK32_FLAGS) $(LINK32_OBJS)
|
|
<<
|
|
|
|
!ENDIF
|
|
|
|
|
|
!IF "$(NO_EXTERNAL_DEPS)" != "1"
|
|
!IF EXISTS("hello.dep")
|
|
!INCLUDE "hello.dep"
|
|
!ELSE
|
|
!MESSAGE Warning: cannot find "hello.dep"
|
|
!ENDIF
|
|
!ENDIF
|
|
|
|
|
|
!IF "$(CFG)" == "Hello - Win32 Release" || "$(CFG)" == "Hello - Win32 Debug"
|
|
SOURCE=.\hello.cpp
|
|
|
|
"$(INTDIR)\hello.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\hello.pch"
|
|
|
|
|
|
SOURCE=.\hello.rc
|
|
|
|
"$(INTDIR)\hello.res" : $(SOURCE) "$(INTDIR)"
|
|
$(RSC) $(RSC_PROJ) $(SOURCE)
|
|
|
|
|
|
SOURCE=.\stdafx.cpp
|
|
|
|
!IF "$(CFG)" == "Hello - Win32 Release"
|
|
|
|
CPP_SWITCHES=/nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\hello.pch" /Yc /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
|
|
|
"$(INTDIR)\stdafx.obj" "$(INTDIR)\hello.pch" : $(SOURCE) "$(INTDIR)"
|
|
$(CPP) @<<
|
|
$(CPP_SWITCHES) $(SOURCE)
|
|
<<
|
|
|
|
|
|
!ELSEIF "$(CFG)" == "Hello - Win32 Debug"
|
|
|
|
CPP_SWITCHES=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\hello.pch" /Yc /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
|
|
|
"$(INTDIR)\stdafx.obj" "$(INTDIR)\hello.pch" : $(SOURCE) "$(INTDIR)"
|
|
$(CPP) @<<
|
|
$(CPP_SWITCHES) $(SOURCE)
|
|
<<
|
|
|
|
|
|
!ENDIF
|
|
|
|
|
|
!ENDIF
|
|
|