home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
mfc
/
general
/
helloapp
/
helloapp.mak
< prev
next >
Wrap
Text File
|
1998-03-26
|
4KB
|
156 lines
# Microsoft Developer Studio Generated NMAKE File, Based on helloapp.dsp
!IF "$(CFG)" == ""
CFG=Helloapp - Win32 Release
!MESSAGE No configuration specified. Defaulting to Helloapp - Win32 Release.
!ENDIF
!IF "$(CFG)" != "Helloapp - Win32 Release" && "$(CFG)" != "Helloapp - 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 "helloapp.mak" CFG="Helloapp - Win32 Release"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "Helloapp - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "Helloapp - 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)" == "Helloapp - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\.\Release
# End Custom Macros
ALL : "$(OUTDIR)\helloapp.exe"
CLEAN :
-@erase "$(INTDIR)\helloapp.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(OUTDIR)\helloapp.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)\helloapp.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\helloapp.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=/nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\helloapp.pdb" /machine:I386 /out:"$(OUTDIR)\helloapp.exe"
LINK32_OBJS= \
"$(INTDIR)\helloapp.obj"
"$(OUTDIR)\helloapp.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "Helloapp - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\.\Debug
# End Custom Macros
ALL : "$(OUTDIR)\helloapp.exe"
CLEAN :
-@erase "$(INTDIR)\helloapp.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\helloapp.exe"
-@erase "$(OUTDIR)\helloapp.ilk"
-@erase "$(OUTDIR)\helloapp.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)\helloapp.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\helloapp.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\helloapp.pdb" /debug /machine:I386 /out:"$(OUTDIR)\helloapp.exe"
LINK32_OBJS= \
"$(INTDIR)\helloapp.obj"
"$(OUTDIR)\helloapp.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("helloapp.dep")
!INCLUDE "helloapp.dep"
!ELSE
!MESSAGE Warning: cannot find "helloapp.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "Helloapp - Win32 Release" || "$(CFG)" == "Helloapp - Win32 Debug"
SOURCE=.\helloapp.cpp
"$(INTDIR)\helloapp.obj" : $(SOURCE) "$(INTDIR)"
!ENDIF