home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / advanced / fire / fire.mak < prev    next >
Encoding:
Text File  |  1998-03-27  |  8.9 KB  |  330 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Based on fire.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=Fire - Win32 Release
  4. !MESSAGE No configuration specified. Defaulting to Fire - Win32 Release.
  5. !ENDIF 
  6.  
  7. !IF "$(CFG)" != "Fire - Win32 Release" && "$(CFG)" != "Fire - Win32 Debug" && "$(CFG)" != "Fire - Win32 Profile Release"
  8. !MESSAGE Invalid configuration "$(CFG)" specified.
  9. !MESSAGE You can specify a configuration when running NMAKE
  10. !MESSAGE by defining the macro CFG on the command line. For example:
  11. !MESSAGE 
  12. !MESSAGE NMAKE /f "fire.mak" CFG="Fire - Win32 Release"
  13. !MESSAGE 
  14. !MESSAGE Possible choices for configuration are:
  15. !MESSAGE 
  16. !MESSAGE "Fire - Win32 Release" (based on "Win32 (x86) Application")
  17. !MESSAGE "Fire - Win32 Debug" (based on "Win32 (x86) Application")
  18. !MESSAGE "Fire - Win32 Profile Release" (based on "Win32 (x86) Application")
  19. !MESSAGE 
  20. !ERROR An invalid configuration is specified.
  21. !ENDIF 
  22.  
  23. !IF "$(OS)" == "Windows_NT"
  24. NULL=
  25. !ELSE 
  26. NULL=nul
  27. !ENDIF 
  28.  
  29. CPP=cl.exe
  30. MTL=midl.exe
  31. RSC=rc.exe
  32.  
  33. !IF  "$(CFG)" == "Fire - Win32 Release"
  34.  
  35. OUTDIR=.\Release
  36. INTDIR=.\Release
  37. # Begin Custom Macros
  38. OutDir=.\.\Release
  39. # End Custom Macros
  40.  
  41. ALL : "$(OUTDIR)\fire.exe"
  42.  
  43.  
  44. CLEAN :
  45.     -@erase "$(INTDIR)\fire.obj"
  46.     -@erase "$(INTDIR)\fire.pch"
  47.     -@erase "$(INTDIR)\fire.res"
  48.     -@erase "$(INTDIR)\firedlg.obj"
  49.     -@erase "$(INTDIR)\firewnd.obj"
  50.     -@erase "$(INTDIR)\stdafx.obj"
  51.     -@erase "$(INTDIR)\vc60.idb"
  52.     -@erase "$(OUTDIR)\fire.exe"
  53.  
  54. "$(OUTDIR)" :
  55.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  56.  
  57. CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  58. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
  59. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\fire.res" /d "NDEBUG" /d "_AFXDLL" 
  60. BSC32=bscmake.exe
  61. BSC32_FLAGS=/nologo /o"$(OUTDIR)\fire.bsc" 
  62. BSC32_SBRS= \
  63.     
  64. LINK32=link.exe
  65. LINK32_FLAGS=/nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\fire.pdb" /machine:I386 /out:"$(OUTDIR)\fire.exe" 
  66. LINK32_OBJS= \
  67.     "$(INTDIR)\fire.obj" \
  68.     "$(INTDIR)\firedlg.obj" \
  69.     "$(INTDIR)\firewnd.obj" \
  70.     "$(INTDIR)\stdafx.obj" \
  71.     "$(INTDIR)\fire.res"
  72.  
  73. "$(OUTDIR)\fire.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  74.     $(LINK32) @<<
  75.   $(LINK32_FLAGS) $(LINK32_OBJS)
  76. <<
  77.  
  78. !ELSEIF  "$(CFG)" == "Fire - Win32 Debug"
  79.  
  80. OUTDIR=.\Debug
  81. INTDIR=.\Debug
  82. # Begin Custom Macros
  83. OutDir=.\.\Debug
  84. # End Custom Macros
  85.  
  86. ALL : "$(OUTDIR)\fire.exe"
  87.  
  88.  
  89. CLEAN :
  90.     -@erase "$(INTDIR)\fire.obj"
  91.     -@erase "$(INTDIR)\fire.pch"
  92.     -@erase "$(INTDIR)\fire.res"
  93.     -@erase "$(INTDIR)\firedlg.obj"
  94.     -@erase "$(INTDIR)\firewnd.obj"
  95.     -@erase "$(INTDIR)\stdafx.obj"
  96.     -@erase "$(INTDIR)\vc60.idb"
  97.     -@erase "$(INTDIR)\vc60.pdb"
  98.     -@erase "$(OUTDIR)\fire.exe"
  99.     -@erase "$(OUTDIR)\fire.ilk"
  100.     -@erase "$(OUTDIR)\fire.pdb"
  101.  
  102. "$(OUTDIR)" :
  103.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  104.  
  105. CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  106. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 
  107. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\fire.res" /d "_DEBUG" /d "_AFXDLL" 
  108. BSC32=bscmake.exe
  109. BSC32_FLAGS=/nologo /o"$(OUTDIR)\fire.bsc" 
  110. BSC32_SBRS= \
  111.     
  112. LINK32=link.exe
  113. LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\fire.pdb" /debug /machine:I386 /out:"$(OUTDIR)\fire.exe" 
  114. LINK32_OBJS= \
  115.     "$(INTDIR)\fire.obj" \
  116.     "$(INTDIR)\firedlg.obj" \
  117.     "$(INTDIR)\firewnd.obj" \
  118.     "$(INTDIR)\stdafx.obj" \
  119.     "$(INTDIR)\fire.res"
  120.  
  121. "$(OUTDIR)\fire.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  122.     $(LINK32) @<<
  123.   $(LINK32_FLAGS) $(LINK32_OBJS)
  124. <<
  125.  
  126. !ELSEIF  "$(CFG)" == "Fire - Win32 Profile Release"
  127.  
  128. OUTDIR=.\ProfRelease
  129. INTDIR=.\ProfRelease
  130. # Begin Custom Macros
  131. OutDir=.\.\ProfRelease
  132. # End Custom Macros
  133.  
  134. ALL : "$(OUTDIR)\fire.exe"
  135.  
  136.  
  137. CLEAN :
  138.     -@erase "$(INTDIR)\fire.obj"
  139.     -@erase "$(INTDIR)\fire.pch"
  140.     -@erase "$(INTDIR)\fire.res"
  141.     -@erase "$(INTDIR)\firedlg.obj"
  142.     -@erase "$(INTDIR)\firewnd.obj"
  143.     -@erase "$(INTDIR)\stdafx.obj"
  144.     -@erase "$(INTDIR)\vc60.idb"
  145.     -@erase "$(OUTDIR)\fire.exe"
  146.  
  147. "$(OUTDIR)" :
  148.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  149.  
  150. CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  151. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
  152. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\fire.res" /d "NDEBUG" /d "_AFXDLL" 
  153. BSC32=bscmake.exe
  154. BSC32_FLAGS=/nologo /o"$(OUTDIR)\fire.bsc" 
  155. BSC32_SBRS= \
  156.     
  157. LINK32=link.exe
  158. LINK32_FLAGS=/nologo /subsystem:windows /profile /machine:I386 /out:"$(OUTDIR)\fire.exe" 
  159. LINK32_OBJS= \
  160.     "$(INTDIR)\fire.obj" \
  161.     "$(INTDIR)\firedlg.obj" \
  162.     "$(INTDIR)\firewnd.obj" \
  163.     "$(INTDIR)\stdafx.obj" \
  164.     "$(INTDIR)\fire.res"
  165.  
  166. "$(OUTDIR)\fire.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  167.     $(LINK32) @<<
  168.   $(LINK32_FLAGS) $(LINK32_OBJS)
  169. <<
  170.  
  171. !ENDIF 
  172.  
  173. .c{$(INTDIR)}.obj::
  174.    $(CPP) @<<
  175.    $(CPP_PROJ) $< 
  176. <<
  177.  
  178. .cpp{$(INTDIR)}.obj::
  179.    $(CPP) @<<
  180.    $(CPP_PROJ) $< 
  181. <<
  182.  
  183. .cxx{$(INTDIR)}.obj::
  184.    $(CPP) @<<
  185.    $(CPP_PROJ) $< 
  186. <<
  187.  
  188. .c{$(INTDIR)}.sbr::
  189.    $(CPP) @<<
  190.    $(CPP_PROJ) $< 
  191. <<
  192.  
  193. .cpp{$(INTDIR)}.sbr::
  194.    $(CPP) @<<
  195.    $(CPP_PROJ) $< 
  196. <<
  197.  
  198. .cxx{$(INTDIR)}.sbr::
  199.    $(CPP) @<<
  200.    $(CPP_PROJ) $< 
  201. <<
  202.  
  203.  
  204. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  205. !IF EXISTS("fire.dep")
  206. !INCLUDE "fire.dep"
  207. !ELSE 
  208. !MESSAGE Warning: cannot find "fire.dep"
  209. !ENDIF 
  210. !ENDIF 
  211.  
  212.  
  213. !IF "$(CFG)" == "Fire - Win32 Release" || "$(CFG)" == "Fire - Win32 Debug" || "$(CFG)" == "Fire - Win32 Profile Release"
  214. SOURCE=.\fire.cpp
  215.  
  216. !IF  "$(CFG)" == "Fire - Win32 Release"
  217.  
  218. CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  219.  
  220. "$(INTDIR)\fire.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\fire.pch"
  221.     $(CPP) @<<
  222.   $(CPP_SWITCHES) $(SOURCE)
  223. <<
  224.  
  225.  
  226. !ELSEIF  "$(CFG)" == "Fire - Win32 Debug"
  227.  
  228. CPP_SWITCHES=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  229.  
  230. "$(INTDIR)\fire.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\fire.pch"
  231.     $(CPP) @<<
  232.   $(CPP_SWITCHES) $(SOURCE)
  233. <<
  234.  
  235.  
  236. !ELSEIF  "$(CFG)" == "Fire - Win32 Profile Release"
  237.  
  238. CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  239.  
  240. "$(INTDIR)\fire.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\fire.pch"
  241.     $(CPP) @<<
  242.   $(CPP_SWITCHES) $(SOURCE)
  243. <<
  244.  
  245.  
  246. !ENDIF 
  247.  
  248. SOURCE=.\fire.rc
  249.  
  250. "$(INTDIR)\fire.res" : $(SOURCE) "$(INTDIR)"
  251.     $(RSC) $(RSC_PROJ) $(SOURCE)
  252.  
  253.  
  254. SOURCE=.\firedlg.cpp
  255.  
  256. !IF  "$(CFG)" == "Fire - Win32 Release"
  257.  
  258. CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  259.  
  260. "$(INTDIR)\firedlg.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\fire.pch"
  261.     $(CPP) @<<
  262.   $(CPP_SWITCHES) $(SOURCE)
  263. <<
  264.  
  265.  
  266. !ELSEIF  "$(CFG)" == "Fire - Win32 Debug"
  267.  
  268. CPP_SWITCHES=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  269.  
  270. "$(INTDIR)\firedlg.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\fire.pch"
  271.     $(CPP) @<<
  272.   $(CPP_SWITCHES) $(SOURCE)
  273. <<
  274.  
  275.  
  276. !ELSEIF  "$(CFG)" == "Fire - Win32 Profile Release"
  277.  
  278. CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  279.  
  280. "$(INTDIR)\firedlg.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\fire.pch"
  281.     $(CPP) @<<
  282.   $(CPP_SWITCHES) $(SOURCE)
  283. <<
  284.  
  285.  
  286. !ENDIF 
  287.  
  288. SOURCE=.\firewnd.cpp
  289.  
  290. "$(INTDIR)\firewnd.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\fire.pch"
  291.  
  292.  
  293. SOURCE=.\stdafx.cpp
  294.  
  295. !IF  "$(CFG)" == "Fire - Win32 Release"
  296.  
  297. CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yc"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  298.  
  299. "$(INTDIR)\stdafx.obj"    "$(INTDIR)\fire.pch" : $(SOURCE) "$(INTDIR)"
  300.     $(CPP) @<<
  301.   $(CPP_SWITCHES) $(SOURCE)
  302. <<
  303.  
  304.  
  305. !ELSEIF  "$(CFG)" == "Fire - Win32 Debug"
  306.  
  307. CPP_SWITCHES=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yc /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  308.  
  309. "$(INTDIR)\stdafx.obj"    "$(INTDIR)\fire.pch" : $(SOURCE) "$(INTDIR)"
  310.     $(CPP) @<<
  311.   $(CPP_SWITCHES) $(SOURCE)
  312. <<
  313.  
  314.  
  315. !ELSEIF  "$(CFG)" == "Fire - Win32 Profile Release"
  316.  
  317. CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\fire.pch" /Yc /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  318.  
  319. "$(INTDIR)\stdafx.obj"    "$(INTDIR)\fire.pch" : $(SOURCE) "$(INTDIR)"
  320.     $(CPP) @<<
  321.   $(CPP_SWITCHES) $(SOURCE)
  322. <<
  323.  
  324.  
  325. !ENDIF 
  326.  
  327.  
  328. !ENDIF 
  329.  
  330.