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

  1. # Microsoft Developer Studio Generated NMAKE File, Format Version 4.00
  2. # ** DO NOT EDIT **
  3.  
  4. # TARGTYPE "Win32 (x86) Application" 0x0101
  5.  
  6. !IF "$(CFG)" == ""
  7. CFG=QueryDef - Win32 Debug
  8. !MESSAGE No configuration specified.  Defaulting to QueryDef - Win32 Debug.
  9. !ENDIF 
  10.  
  11. !IF "$(CFG)" != "QueryDef - Win32 Release" && "$(CFG)" !=\
  12.  "QueryDef - Win32 Debug"
  13. !MESSAGE Invalid configuration "$(CFG)" specified.
  14. !MESSAGE You can specify a configuration when running NMAKE on this makefile
  15. !MESSAGE by defining the macro CFG on the command line.  For example:
  16. !MESSAGE 
  17. !MESSAGE NMAKE /f "QueryDef.mak" CFG="QueryDef - Win32 Debug"
  18. !MESSAGE 
  19. !MESSAGE Possible choices for configuration are:
  20. !MESSAGE 
  21. !MESSAGE "QueryDef - Win32 Release" (based on "Win32 (x86) Application")
  22. !MESSAGE "QueryDef - Win32 Debug" (based on "Win32 (x86) Application")
  23. !MESSAGE 
  24. !ERROR An invalid configuration is specified.
  25. !ENDIF 
  26.  
  27. !IF "$(OS)" == "Windows_NT"
  28. NULL=
  29. !ELSE 
  30. NULL=nul
  31. !ENDIF 
  32. ################################################################################
  33. # Begin Project
  34. # PROP Target_Last_Scanned "QueryDef - Win32 Debug"
  35. MTL=mktyplib.exe
  36. CPP=cl.exe
  37. RSC=rc.exe
  38.  
  39. !IF  "$(CFG)" == "QueryDef - Win32 Release"
  40.  
  41. # PROP BASE Use_MFC 6
  42. # PROP BASE Use_Debug_Libraries 0
  43. # PROP BASE Output_Dir "Release"
  44. # PROP BASE Intermediate_Dir "Release"
  45. # PROP BASE Target_Dir ""
  46. # PROP Use_MFC 6
  47. # PROP Use_Debug_Libraries 0
  48. # PROP Output_Dir "Release"
  49. # PROP Intermediate_Dir "Release"
  50. # PROP Target_Dir ""
  51. OUTDIR=.\Release
  52. INTDIR=.\Release
  53.  
  54. ALL : "$(OUTDIR)\QueryDef.exe"
  55.  
  56. CLEAN : 
  57.     -@erase ".\Release\QueryDef.exe"
  58.     -@erase ".\Release\MainFrm.obj"
  59.     -@erase ".\Release\QueryDef.pch"
  60.     -@erase ".\Release\QDefSet.obj"
  61.     -@erase ".\Release\StdAfx.obj"
  62.     -@erase ".\Release\QueryDef.obj"
  63.     -@erase ".\Release\QDefDoc.obj"
  64.     -@erase ".\Release\QDefView.obj"
  65.     -@erase ".\Release\QDefYDlg.obj"
  66.     -@erase ".\Release\QueryDef.res"
  67.  
  68. "$(OUTDIR)" :
  69.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  70.  
  71. # ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
  72. # ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
  73. CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
  74.  "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/QueryDef.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/"\
  75.  /c 
  76. CPP_OBJS=.\Release/
  77. CPP_SBRS=
  78. # ADD BASE MTL /nologo /D "NDEBUG" /win32
  79. # ADD MTL /nologo /D "NDEBUG" /win32
  80. MTL_PROJ=/nologo /D "NDEBUG" /win32 
  81. # ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
  82. # ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
  83. RSC_PROJ=/l 0x409 /fo"$(INTDIR)/QueryDef.res" /d "NDEBUG" /d "_AFXDLL" 
  84. BSC32=bscmake.exe
  85. # ADD BASE BSC32 /nologo
  86. # ADD BSC32 /nologo
  87. BSC32_FLAGS=/nologo /o"$(OUTDIR)/QueryDef.bsc" 
  88. BSC32_SBRS=
  89. LINK32=link.exe
  90. # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
  91. # ADD LINK32 /nologo /subsystem:windows /machine:I386
  92. LINK32_FLAGS=/nologo /subsystem:windows /incremental:no\
  93.  /pdb:"$(OUTDIR)/QueryDef.pdb" /machine:I386 /out:"$(OUTDIR)/QueryDef.exe" 
  94. LINK32_OBJS= \
  95.     ".\Release\MainFrm.obj" \
  96.     ".\Release\QDefSet.obj" \
  97.     ".\Release\StdAfx.obj" \
  98.     ".\Release\QueryDef.obj" \
  99.     ".\Release\QDefDoc.obj" \
  100.     ".\Release\QDefView.obj" \
  101.     ".\Release\QDefYDlg.obj" \
  102.     ".\Release\QueryDef.res"
  103.  
  104. "$(OUTDIR)\QueryDef.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  105.     $(LINK32) @<<
  106.   $(LINK32_FLAGS) $(LINK32_OBJS)
  107. <<
  108.  
  109. !ELSEIF  "$(CFG)" == "QueryDef - Win32 Debug"
  110.  
  111. # PROP BASE Use_MFC 6
  112. # PROP BASE Use_Debug_Libraries 1
  113. # PROP BASE Output_Dir "Debug"
  114. # PROP BASE Intermediate_Dir "Debug"
  115. # PROP BASE Target_Dir ""
  116. # PROP Use_MFC 6
  117. # PROP Use_Debug_Libraries 1
  118. # PROP Output_Dir "Debug"
  119. # PROP Intermediate_Dir "Debug"
  120. # PROP Target_Dir ""
  121. OUTDIR=.\Debug
  122. INTDIR=.\Debug
  123.  
  124. ALL : "$(OUTDIR)\QueryDef.exe"
  125.  
  126. CLEAN : 
  127.     -@erase ".\Debug\vc40.pdb"
  128.     -@erase ".\Debug\QueryDef.pch"
  129.     -@erase ".\Debug\vc40.idb"
  130.     -@erase ".\Debug\QueryDef.exe"
  131.     -@erase ".\Debug\StdAfx.obj"
  132.     -@erase ".\Debug\MainFrm.obj"
  133.     -@erase ".\Debug\QDefYDlg.obj"
  134.     -@erase ".\Debug\QDefDoc.obj"
  135.     -@erase ".\Debug\QDefSet.obj"
  136.     -@erase ".\Debug\QDefView.obj"
  137.     -@erase ".\Debug\QueryDef.obj"
  138.     -@erase ".\Debug\QueryDef.res"
  139.     -@erase ".\Debug\QueryDef.ilk"
  140.     -@erase ".\Debug\QueryDef.pdb"
  141.  
  142. "$(OUTDIR)" :
  143.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  144.  
  145. # ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
  146. # ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
  147. CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
  148.  /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/QueryDef.pch" /Yu"stdafx.h"\
  149.  /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c 
  150. CPP_OBJS=.\Debug/
  151. CPP_SBRS=
  152. # ADD BASE MTL /nologo /D "_DEBUG" /win32
  153. # ADD MTL /nologo /D "_DEBUG" /win32
  154. MTL_PROJ=/nologo /D "_DEBUG" /win32 
  155. # ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
  156. # ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
  157. RSC_PROJ=/l 0x409 /fo"$(INTDIR)/QueryDef.res" /d "_DEBUG" /d "_AFXDLL" 
  158. BSC32=bscmake.exe
  159. # ADD BASE BSC32 /nologo
  160. # ADD BSC32 /nologo
  161. BSC32_FLAGS=/nologo /o"$(OUTDIR)/QueryDef.bsc" 
  162. BSC32_SBRS=
  163. LINK32=link.exe
  164. # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386
  165. # ADD LINK32 /nologo /subsystem:windows /debug /machine:I386
  166. LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes\
  167.  /pdb:"$(OUTDIR)/QueryDef.pdb" /debug /machine:I386\
  168.  /out:"$(OUTDIR)/QueryDef.exe" 
  169. LINK32_OBJS= \
  170.     ".\Debug\StdAfx.obj" \
  171.     ".\Debug\MainFrm.obj" \
  172.     ".\Debug\QDefYDlg.obj" \
  173.     ".\Debug\QDefDoc.obj" \
  174.     ".\Debug\QDefSet.obj" \
  175.     ".\Debug\QDefView.obj" \
  176.     ".\Debug\QueryDef.obj" \
  177.     ".\Debug\QueryDef.res"
  178.  
  179. "$(OUTDIR)\QueryDef.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  180.     $(LINK32) @<<
  181.   $(LINK32_FLAGS) $(LINK32_OBJS)
  182. <<
  183.  
  184. !ENDIF 
  185.  
  186. .c{$(CPP_OBJS)}.obj:
  187.    $(CPP) $(CPP_PROJ) $<  
  188.  
  189. .cpp{$(CPP_OBJS)}.obj:
  190.    $(CPP) $(CPP_PROJ) $<  
  191.  
  192. .cxx{$(CPP_OBJS)}.obj:
  193.    $(CPP) $(CPP_PROJ) $<  
  194.  
  195. .c{$(CPP_SBRS)}.sbr:
  196.    $(CPP) $(CPP_PROJ) $<  
  197.  
  198. .cpp{$(CPP_SBRS)}.sbr:
  199.    $(CPP) $(CPP_PROJ) $<  
  200.  
  201. .cxx{$(CPP_SBRS)}.sbr:
  202.    $(CPP) $(CPP_PROJ) $<  
  203.  
  204. ################################################################################
  205. # Begin Target
  206.  
  207. # Name "QueryDef - Win32 Release"
  208. # Name "QueryDef - Win32 Debug"
  209.  
  210. !IF  "$(CFG)" == "QueryDef - Win32 Release"
  211.  
  212. !ELSEIF  "$(CFG)" == "QueryDef - Win32 Debug"
  213.  
  214. !ENDIF 
  215.  
  216. ################################################################################
  217. # Begin Source File
  218.  
  219. SOURCE=.\ReadMe.txt
  220.  
  221. !IF  "$(CFG)" == "QueryDef - Win32 Release"
  222.  
  223. !ELSEIF  "$(CFG)" == "QueryDef - Win32 Debug"
  224.  
  225. !ENDIF 
  226.  
  227. # End Source File
  228. ################################################################################
  229. # Begin Source File
  230.  
  231. SOURCE=.\QueryDef.cpp
  232. DEP_CPP_QUERY=\
  233.     ".\StdAfx.h"\
  234.     ".\QueryDef.h"\
  235.     ".\MainFrm.h"\
  236.     ".\QDefSet.h"\
  237.     ".\QDefDoc.h"\
  238.     ".\QDefView.h"\
  239.     
  240.  
  241. "$(INTDIR)\QueryDef.obj" : $(SOURCE) $(DEP_CPP_QUERY) "$(INTDIR)"\
  242.  "$(INTDIR)\QueryDef.pch"
  243.  
  244.  
  245. # End Source File
  246. ################################################################################
  247. # Begin Source File
  248.  
  249. SOURCE=.\StdAfx.cpp
  250. DEP_CPP_STDAF=\
  251.     ".\StdAfx.h"\
  252.     
  253.  
  254. !IF  "$(CFG)" == "QueryDef - Win32 Release"
  255.  
  256. # ADD CPP /Yc"stdafx.h"
  257.  
  258. BuildCmds= \
  259.     $(CPP) /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
  260.  "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/QueryDef.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/"\
  261.  /c $(SOURCE) \
  262.     
  263.  
  264. "$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
  265.    $(BuildCmds)
  266.  
  267. "$(INTDIR)\QueryDef.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
  268.    $(BuildCmds)
  269.  
  270. !ELSEIF  "$(CFG)" == "QueryDef - Win32 Debug"
  271.  
  272. # ADD CPP /Yc"stdafx.h"
  273.  
  274. BuildCmds= \
  275.     $(CPP) /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
  276.  /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/QueryDef.pch" /Yc"stdafx.h"\
  277.  /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c $(SOURCE) \
  278.     
  279.  
  280. "$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
  281.    $(BuildCmds)
  282.  
  283. "$(INTDIR)\QueryDef.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
  284.    $(BuildCmds)
  285.  
  286. !ENDIF 
  287.  
  288. # End Source File
  289. ################################################################################
  290. # Begin Source File
  291.  
  292. SOURCE=.\MainFrm.cpp
  293. DEP_CPP_MAINF=\
  294.     ".\MainFrm.h"\
  295.     ".\QueryDef.h"\
  296.     ".\StdAfx.h"\
  297.     
  298.  
  299. "$(INTDIR)\MainFrm.obj" : $(SOURCE) $(DEP_CPP_MAINF) "$(INTDIR)"\
  300.  "$(INTDIR)\QueryDef.pch"
  301.  
  302.  
  303. # End Source File
  304. ################################################################################
  305. # Begin Source File
  306.  
  307. SOURCE=.\QueryDef.rc
  308. DEP_RSC_QUERYD=\
  309.     ".\res\QueryDef.ico"\
  310.     ".\res\QDefDoc.ico"\
  311.     ".\res\Toolbar.bmp"\
  312.     ".\res\QueryDef.rc2"\
  313.     
  314.  
  315. "$(INTDIR)\QueryDef.res" : $(SOURCE) $(DEP_RSC_QUERYD) "$(INTDIR)"
  316.    $(RSC) $(RSC_PROJ) $(SOURCE)
  317.  
  318.  
  319. # End Source File
  320. ################################################################################
  321. # Begin Source File
  322.  
  323. SOURCE=.\QDefYDlg.cpp
  324. DEP_CPP_QDEFY=\
  325.     ".\StdAfx.h"\
  326.     ".\QueryDef.h"\
  327.     ".\QDefYDlg.h"\
  328.     
  329.  
  330. "$(INTDIR)\QDefYDlg.obj" : $(SOURCE) $(DEP_CPP_QDEFY) "$(INTDIR)"\
  331.  "$(INTDIR)\QueryDef.pch"
  332.  
  333.  
  334. # End Source File
  335. ################################################################################
  336. # Begin Source File
  337.  
  338. SOURCE=.\QDefSet.cpp
  339. DEP_CPP_QDEFS=\
  340.     ".\StdAfx.h"\
  341.     ".\QueryDef.h"\
  342.     ".\QDefSet.h"\
  343.     
  344.  
  345. "$(INTDIR)\QDefSet.obj" : $(SOURCE) $(DEP_CPP_QDEFS) "$(INTDIR)"\
  346.  "$(INTDIR)\QueryDef.pch"
  347.  
  348.  
  349. # End Source File
  350. ################################################################################
  351. # Begin Source File
  352.  
  353. SOURCE=.\QDefView.cpp
  354. DEP_CPP_QDEFV=\
  355.     ".\StdAfx.h"\
  356.     ".\QueryDef.h"\
  357.     ".\QDefYDlg.h"\
  358.     ".\QDefSet.h"\
  359.     ".\QDefDoc.h"\
  360.     ".\QDefView.h"\
  361.     
  362.  
  363. "$(INTDIR)\QDefView.obj" : $(SOURCE) $(DEP_CPP_QDEFV) "$(INTDIR)"\
  364.  "$(INTDIR)\QueryDef.pch"
  365.  
  366.  
  367. # End Source File
  368. ################################################################################
  369. # Begin Source File
  370.  
  371. SOURCE=.\QDefDoc.cpp
  372. DEP_CPP_QDEFD=\
  373.     ".\StdAfx.h"\
  374.     ".\QueryDef.h"\
  375.     ".\QDefSet.h"\
  376.     ".\QDefDoc.h"\
  377.     
  378.  
  379. "$(INTDIR)\QDefDoc.obj" : $(SOURCE) $(DEP_CPP_QDEFD) "$(INTDIR)"\
  380.  "$(INTDIR)\QueryDef.pch"
  381.  
  382.  
  383. # End Source File
  384. # End Target
  385. # End Project
  386. ################################################################################
  387.