home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / commap / ctlcomm / ctlcomm.mak < prev    next >
Encoding:
Text File  |  1998-04-03  |  6.1 KB  |  260 lines

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