home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c05 / statbar / statbar.mak < prev    next >
Encoding:
NMAKE  |  1997-02-20  |  6.4 KB  |  284 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Based on StatBar.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=StatBar - Win32 Release
  4. !MESSAGE No configuration specified. Defaulting to StatBar - Win32 Release.
  5. !ENDIF 
  6.  
  7. !IF "$(CFG)" != "StatBar - Win32 Release" && "$(CFG)" !=\
  8.  "StatBar - Win32 Debug"
  9. !MESSAGE Invalid configuration "$(CFG)" specified.
  10. !MESSAGE You can specify a configuration when running NMAKE
  11. !MESSAGE by defining the macro CFG on the command line. For example:
  12. !MESSAGE 
  13. !MESSAGE NMAKE /f "StatBar.mak" CFG="StatBar - Win32 Release"
  14. !MESSAGE 
  15. !MESSAGE Possible choices for configuration are:
  16. !MESSAGE 
  17. !MESSAGE "StatBar - Win32 Release" (based on "Win32 (x86) Application")
  18. !MESSAGE "StatBar - Win32 Debug" (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)" == "StatBar - Win32 Release"
  34.  
  35. OUTDIR=.\Release
  36. INTDIR=.\Release
  37. # Begin Custom Macros
  38. OutDir=.\.\Release
  39. # End Custom Macros
  40.  
  41. !IF "$(RECURSE)" == "0" 
  42.  
  43. ALL : "$(OUTDIR)\StatBar.exe"
  44.  
  45. !ELSE 
  46.  
  47. ALL : "$(OUTDIR)\StatBar.exe"
  48.  
  49. !ENDIF 
  50.  
  51. CLEAN :
  52.     -@erase "$(INTDIR)\MainFrm.obj"
  53.     -@erase "$(INTDIR)\StatBar.obj"
  54.     -@erase "$(INTDIR)\StatBar.pch"
  55.     -@erase "$(INTDIR)\StatBar.res"
  56.     -@erase "$(INTDIR)\StatBDoc.obj"
  57.     -@erase "$(INTDIR)\StatView.obj"
  58.     -@erase "$(INTDIR)\StdAfx.obj"
  59.     -@erase "$(INTDIR)\vc50.idb"
  60.     -@erase "$(OUTDIR)\StatBar.exe"
  61.  
  62. "$(OUTDIR)" :
  63.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  64.  
  65. CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
  66.  "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\StatBar.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\"\
  67.  /Fd"$(INTDIR)\\" /FD /c 
  68. CPP_OBJS=.\Release/
  69. CPP_SBRS=.
  70. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
  71. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\StatBar.res" /d "NDEBUG" /d "_AFXDLL" 
  72. BSC32=bscmake.exe
  73. BSC32_FLAGS=/nologo /o"$(OUTDIR)\StatBar.bsc" 
  74. BSC32_SBRS= \
  75.     
  76. LINK32=link.exe
  77. LINK32_FLAGS=/nologo /subsystem:windows /incremental:no\
  78.  /pdb:"$(OUTDIR)\StatBar.pdb" /machine:I386 /out:"$(OUTDIR)\StatBar.exe" 
  79. LINK32_OBJS= \
  80.     "$(INTDIR)\MainFrm.obj" \
  81.     "$(INTDIR)\StatBar.obj" \
  82.     "$(INTDIR)\StatBar.res" \
  83.     "$(INTDIR)\StatBDoc.obj" \
  84.     "$(INTDIR)\StatView.obj" \
  85.     "$(INTDIR)\StdAfx.obj"
  86.  
  87. "$(OUTDIR)\StatBar.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  88.     $(LINK32) @<<
  89.   $(LINK32_FLAGS) $(LINK32_OBJS)
  90. <<
  91.  
  92. !ELSEIF  "$(CFG)" == "StatBar - Win32 Debug"
  93.  
  94. OUTDIR=.\Debug
  95. INTDIR=.\Debug
  96. # Begin Custom Macros
  97. OutDir=.\.\Debug
  98. # End Custom Macros
  99.  
  100. !IF "$(RECURSE)" == "0" 
  101.  
  102. ALL : "$(OUTDIR)\StatBar.exe"
  103.  
  104. !ELSE 
  105.  
  106. ALL : "$(OUTDIR)\StatBar.exe"
  107.  
  108. !ENDIF 
  109.  
  110. CLEAN :
  111.     -@erase "$(INTDIR)\MainFrm.obj"
  112.     -@erase "$(INTDIR)\StatBar.obj"
  113.     -@erase "$(INTDIR)\StatBar.pch"
  114.     -@erase "$(INTDIR)\StatBar.res"
  115.     -@erase "$(INTDIR)\StatBDoc.obj"
  116.     -@erase "$(INTDIR)\StatView.obj"
  117.     -@erase "$(INTDIR)\StdAfx.obj"
  118.     -@erase "$(INTDIR)\vc50.idb"
  119.     -@erase "$(INTDIR)\vc50.pdb"
  120.     -@erase "$(OUTDIR)\StatBar.exe"
  121.     -@erase "$(OUTDIR)\StatBar.ilk"
  122.     -@erase "$(OUTDIR)\StatBar.pdb"
  123.  
  124. "$(OUTDIR)" :
  125.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  126.  
  127. CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
  128.  /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\StatBar.pch" /Yu"stdafx.h"\
  129.  /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  130. CPP_OBJS=.\Debug/
  131. CPP_SBRS=.
  132. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 
  133. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\StatBar.res" /d "_DEBUG" /d "_AFXDLL" 
  134. BSC32=bscmake.exe
  135. BSC32_FLAGS=/nologo /o"$(OUTDIR)\StatBar.bsc" 
  136. BSC32_SBRS= \
  137.     
  138. LINK32=link.exe
  139. LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes\
  140.  /pdb:"$(OUTDIR)\StatBar.pdb" /debug /machine:I386 /out:"$(OUTDIR)\StatBar.exe" 
  141. LINK32_OBJS= \
  142.     "$(INTDIR)\MainFrm.obj" \
  143.     "$(INTDIR)\StatBar.obj" \
  144.     "$(INTDIR)\StatBar.res" \
  145.     "$(INTDIR)\StatBDoc.obj" \
  146.     "$(INTDIR)\StatView.obj" \
  147.     "$(INTDIR)\StdAfx.obj"
  148.  
  149. "$(OUTDIR)\StatBar.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  150.     $(LINK32) @<<
  151.   $(LINK32_FLAGS) $(LINK32_OBJS)
  152. <<
  153.  
  154. !ENDIF 
  155.  
  156. .c{$(CPP_OBJS)}.obj::
  157.    $(CPP) @<<
  158.    $(CPP_PROJ) $< 
  159. <<
  160.  
  161. .cpp{$(CPP_OBJS)}.obj::
  162.    $(CPP) @<<
  163.    $(CPP_PROJ) $< 
  164. <<
  165.  
  166. .cxx{$(CPP_OBJS)}.obj::
  167.    $(CPP) @<<
  168.    $(CPP_PROJ) $< 
  169. <<
  170.  
  171. .c{$(CPP_SBRS)}.sbr::
  172.    $(CPP) @<<
  173.    $(CPP_PROJ) $< 
  174. <<
  175.  
  176. .cpp{$(CPP_SBRS)}.sbr::
  177.    $(CPP) @<<
  178.    $(CPP_PROJ) $< 
  179. <<
  180.  
  181. .cxx{$(CPP_SBRS)}.sbr::
  182.    $(CPP) @<<
  183.    $(CPP_PROJ) $< 
  184. <<
  185.  
  186.  
  187. !IF "$(CFG)" == "StatBar - Win32 Release" || "$(CFG)" ==\
  188.  "StatBar - Win32 Debug"
  189. SOURCE=.\MainFrm.cpp
  190. DEP_CPP_MAINF=\
  191.     ".\MainFrm.h"\
  192.     ".\StatBar.h"\
  193.     ".\StatBDoc.h"\
  194.     ".\StdAfx.h"\
  195.     
  196.  
  197. "$(INTDIR)\MainFrm.obj" : $(SOURCE) $(DEP_CPP_MAINF) "$(INTDIR)"\
  198.  "$(INTDIR)\StatBar.pch"
  199.  
  200.  
  201. SOURCE=.\StatBar.cpp
  202. DEP_CPP_STATB=\
  203.     ".\MainFrm.h"\
  204.     ".\StatBar.h"\
  205.     ".\StatBDoc.h"\
  206.     ".\StatView.h"\
  207.     ".\StdAfx.h"\
  208.     
  209.  
  210. "$(INTDIR)\StatBar.obj" : $(SOURCE) $(DEP_CPP_STATB) "$(INTDIR)"\
  211.  "$(INTDIR)\StatBar.pch"
  212.  
  213.  
  214. SOURCE=.\StatBar.rc
  215. DEP_RSC_STATBA=\
  216.     ".\res\StatBar.ico"\
  217.     ".\res\StatBar.rc2"\
  218.     ".\res\StatDoc.ico"\
  219.     
  220.  
  221. "$(INTDIR)\StatBar.res" : $(SOURCE) $(DEP_RSC_STATBA) "$(INTDIR)"
  222.     $(RSC) $(RSC_PROJ) $(SOURCE)
  223.  
  224.  
  225. SOURCE=.\StatBDoc.cpp
  226. DEP_CPP_STATBD=\
  227.     ".\StatBar.h"\
  228.     ".\StatBDoc.h"\
  229.     ".\StdAfx.h"\
  230.     
  231.  
  232. "$(INTDIR)\StatBDoc.obj" : $(SOURCE) $(DEP_CPP_STATBD) "$(INTDIR)"\
  233.  "$(INTDIR)\StatBar.pch"
  234.  
  235.  
  236. SOURCE=.\StatView.cpp
  237. DEP_CPP_STATV=\
  238.     ".\StatBar.h"\
  239.     ".\StatBDoc.h"\
  240.     ".\StatView.h"\
  241.     ".\StdAfx.h"\
  242.     
  243.  
  244. "$(INTDIR)\StatView.obj" : $(SOURCE) $(DEP_CPP_STATV) "$(INTDIR)"\
  245.  "$(INTDIR)\StatBar.pch"
  246.  
  247.  
  248. SOURCE=.\StdAfx.cpp
  249. DEP_CPP_STDAF=\
  250.     ".\StdAfx.h"\
  251.     
  252.  
  253. !IF  "$(CFG)" == "StatBar - Win32 Release"
  254.  
  255. CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
  256.  "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\StatBar.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\"\
  257.  /Fd"$(INTDIR)\\" /FD /c 
  258.  
  259. "$(INTDIR)\StdAfx.obj"    "$(INTDIR)\StatBar.pch" : $(SOURCE) $(DEP_CPP_STDAF)\
  260.  "$(INTDIR)"
  261.     $(CPP) @<<
  262.   $(CPP_SWITCHES) $(SOURCE)
  263. <<
  264.  
  265.  
  266. !ELSEIF  "$(CFG)" == "StatBar - Win32 Debug"
  267.  
  268. CPP_SWITCHES=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D\
  269.  "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\StatBar.pch" /Yc"stdafx.h"\
  270.  /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  271.  
  272. "$(INTDIR)\StdAfx.obj"    "$(INTDIR)\StatBar.pch" : $(SOURCE) $(DEP_CPP_STDAF)\
  273.  "$(INTDIR)"
  274.     $(CPP) @<<
  275.   $(CPP_SWITCHES) $(SOURCE)
  276. <<
  277.  
  278.  
  279. !ENDIF 
  280.  
  281.  
  282. !ENDIF 
  283.  
  284.