198 lines
4.7 KiB
Makefile
198 lines
4.7 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
|
|
|
|
CPP=cl.exe
|
|
MTL=midl.exe
|
|
RSC=rc.exe
|
|
|
|
!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_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\hello.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
|
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
|
|
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\hello.res" /d "NDEBUG" /d "_AFXDLL"
|
|
BSC32=bscmake.exe
|
|
BSC32_FLAGS=/nologo /o"$(OUTDIR)\hello.bsc"
|
|
BSC32_SBRS= \
|
|
|
|
LINK32=link.exe
|
|
LINK32_FLAGS=/nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\hello.pdb" /machine:I386 /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_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\hello.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
|
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
|
|
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\hello.res" /d "_DEBUG" /d "_AFXDLL"
|
|
BSC32=bscmake.exe
|
|
BSC32_FLAGS=/nologo /o"$(OUTDIR)\hello.bsc"
|
|
BSC32_SBRS= \
|
|
|
|
LINK32=link.exe
|
|
LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\hello.pdb" /debug /machine:I386 /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
|
|
|
|
.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) $<
|
|
<<
|
|
|
|
|
|
!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 /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /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 /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /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
|
|
|