home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c08 / add_del / biblio.mak < prev    next >
Encoding:
NMAKE  |  1997-02-20  |  6.9 KB  |  311 lines

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