home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / sharewar / quake106 / utils / qbsp / qbsp.mak < prev    next >
Text File  |  1996-09-12  |  14KB  |  528 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Format Version 4.00
  2. # ** DO NOT EDIT **
  3.  
  4. # TARGTYPE "Win32 (x86) Console Application" 0x0103
  5.  
  6. !IF "$(CFG)" == ""
  7. CFG=qbsp - Win32 Debug
  8. !MESSAGE No configuration specified.  Defaulting to qbsp - Win32 Debug.
  9. !ENDIF 
  10.  
  11. !IF "$(CFG)" != "qbsp - Win32 Release" && "$(CFG)" != "qbsp - Win32 Debug"
  12. !MESSAGE Invalid configuration "$(CFG)" specified.
  13. !MESSAGE You can specify a configuration when running NMAKE on this makefile
  14. !MESSAGE by defining the macro CFG on the command line.  For example:
  15. !MESSAGE 
  16. !MESSAGE NMAKE /f "qbsp.mak" CFG="qbsp - Win32 Debug"
  17. !MESSAGE 
  18. !MESSAGE Possible choices for configuration are:
  19. !MESSAGE 
  20. !MESSAGE "qbsp - Win32 Release" (based on "Win32 (x86) Console Application")
  21. !MESSAGE "qbsp - Win32 Debug" (based on "Win32 (x86) Console Application")
  22. !MESSAGE 
  23. !ERROR An invalid configuration is specified.
  24. !ENDIF 
  25.  
  26. !IF "$(OS)" == "Windows_NT"
  27. NULL=
  28. !ELSE 
  29. NULL=nul
  30. !ENDIF 
  31. ################################################################################
  32. # Begin Project
  33. # PROP Target_Last_Scanned "qbsp - Win32 Debug"
  34. CPP=cl.exe
  35. RSC=rc.exe
  36.  
  37. !IF  "$(CFG)" == "qbsp - Win32 Release"
  38.  
  39. # PROP BASE Use_MFC 0
  40. # PROP BASE Use_Debug_Libraries 0
  41. # PROP BASE Output_Dir "Release"
  42. # PROP BASE Intermediate_Dir "Release"
  43. # PROP BASE Target_Dir ""
  44. # PROP Use_MFC 0
  45. # PROP Use_Debug_Libraries 0
  46. # PROP Output_Dir "Release"
  47. # PROP Intermediate_Dir "Release"
  48. # PROP Target_Dir ""
  49. OUTDIR=.\Release
  50. INTDIR=.\Release
  51.  
  52. ALL : "$(OUTDIR)\qbsp.exe"
  53.  
  54. CLEAN : 
  55.     -@erase ".\Release\qbsp.exe"
  56.     -@erase ".\Release\mathlib.obj"
  57.     -@erase ".\Release\solidbsp.obj"
  58.     -@erase ".\Release\portals.obj"
  59.     -@erase ".\Release\surfaces.obj"
  60.     -@erase ".\Release\nodraw.obj"
  61.     -@erase ".\Release\cmdlib.obj"
  62.     -@erase ".\Release\csg4.obj"
  63.     -@erase ".\Release\brush.obj"
  64.     -@erase ".\Release\merge.obj"
  65.     -@erase ".\Release\map.obj"
  66.     -@erase ".\Release\region.obj"
  67.     -@erase ".\Release\bspfile.obj"
  68.     -@erase ".\Release\writebsp.obj"
  69.     -@erase ".\Release\outside.obj"
  70.     -@erase ".\Release\qbsp.obj"
  71.     -@erase ".\Release\tjunc.obj"
  72.  
  73. "$(OUTDIR)" :
  74.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  75.  
  76. # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
  77. # ADD CPP /nologo /GX /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
  78. CPP_PROJ=/nologo /ML /GX /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D\
  79.  "_CONSOLE" /Fp"$(INTDIR)/qbsp.pch" /YX /Fo"$(INTDIR)/" /c 
  80. CPP_OBJS=.\Release/
  81. CPP_SBRS=
  82. # ADD BASE RSC /l 0x409 /d "NDEBUG"
  83. # ADD RSC /l 0x409 /d "NDEBUG"
  84. BSC32=bscmake.exe
  85. # ADD BASE BSC32 /nologo
  86. # ADD BSC32 /nologo
  87. BSC32_FLAGS=/nologo /o"$(OUTDIR)/qbsp.bsc" 
  88. BSC32_SBRS=
  89. LINK32=link.exe
  90. # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
  91. # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
  92. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  93.  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  94.  odbccp32.lib /nologo /subsystem:console /incremental:no\
  95.  /pdb:"$(OUTDIR)/qbsp.pdb" /machine:I386 /out:"$(OUTDIR)/qbsp.exe" 
  96. LINK32_OBJS= \
  97.     ".\Release\mathlib.obj" \
  98.     ".\Release\solidbsp.obj" \
  99.     ".\Release\portals.obj" \
  100.     ".\Release\surfaces.obj" \
  101.     ".\Release\nodraw.obj" \
  102.     ".\Release\cmdlib.obj" \
  103.     ".\Release\csg4.obj" \
  104.     ".\Release\brush.obj" \
  105.     ".\Release\merge.obj" \
  106.     ".\Release\map.obj" \
  107.     ".\Release\region.obj" \
  108.     ".\Release\bspfile.obj" \
  109.     ".\Release\writebsp.obj" \
  110.     ".\Release\outside.obj" \
  111.     ".\Release\qbsp.obj" \
  112.     ".\Release\tjunc.obj"
  113.  
  114. "$(OUTDIR)\qbsp.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  115.     $(LINK32) @<<
  116.   $(LINK32_FLAGS) $(LINK32_OBJS)
  117. <<
  118.  
  119. !ELSEIF  "$(CFG)" == "qbsp - Win32 Debug"
  120.  
  121. # PROP BASE Use_MFC 0
  122. # PROP BASE Use_Debug_Libraries 1
  123. # PROP BASE Output_Dir "Debug"
  124. # PROP BASE Intermediate_Dir "Debug"
  125. # PROP BASE Target_Dir ""
  126. # PROP Use_MFC 0
  127. # PROP Use_Debug_Libraries 1
  128. # PROP Output_Dir "Debug"
  129. # PROP Intermediate_Dir "Debug"
  130. # PROP Target_Dir ""
  131. OUTDIR=.\Debug
  132. INTDIR=.\Debug
  133.  
  134. ALL : "$(OUTDIR)\qbsp.exe"
  135.  
  136. CLEAN : 
  137.     -@erase ".\Debug\vc40.pdb"
  138.     -@erase ".\Debug\vc40.idb"
  139.     -@erase ".\Debug\qbsp.exe"
  140.     -@erase ".\Debug\region.obj"
  141.     -@erase ".\Debug\mathlib.obj"
  142.     -@erase ".\Debug\csg4.obj"
  143.     -@erase ".\Debug\portals.obj"
  144.     -@erase ".\Debug\surfaces.obj"
  145.     -@erase ".\Debug\tjunc.obj"
  146.     -@erase ".\Debug\nodraw.obj"
  147.     -@erase ".\Debug\outside.obj"
  148.     -@erase ".\Debug\map.obj"
  149.     -@erase ".\Debug\bspfile.obj"
  150.     -@erase ".\Debug\solidbsp.obj"
  151.     -@erase ".\Debug\brush.obj"
  152.     -@erase ".\Debug\merge.obj"
  153.     -@erase ".\Debug\qbsp.obj"
  154.     -@erase ".\Debug\cmdlib.obj"
  155.     -@erase ".\Debug\writebsp.obj"
  156.     -@erase ".\Debug\qbsp.ilk"
  157.     -@erase ".\Debug\qbsp.pdb"
  158.  
  159. "$(OUTDIR)" :
  160.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  161.  
  162. # ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
  163. # ADD CPP /nologo /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
  164. CPP_PROJ=/nologo /MLd /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D\
  165.  "_CONSOLE" /Fp"$(INTDIR)/qbsp.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c 
  166. CPP_OBJS=.\Debug/
  167. CPP_SBRS=
  168. # ADD BASE RSC /l 0x409 /d "_DEBUG"
  169. # ADD RSC /l 0x409 /d "_DEBUG"
  170. BSC32=bscmake.exe
  171. # ADD BASE BSC32 /nologo
  172. # ADD BSC32 /nologo
  173. BSC32_FLAGS=/nologo /o"$(OUTDIR)/qbsp.bsc" 
  174. BSC32_SBRS=
  175. LINK32=link.exe
  176. # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
  177. # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
  178. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  179.  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  180.  odbccp32.lib /nologo /subsystem:console /incremental:yes\
  181.  /pdb:"$(OUTDIR)/qbsp.pdb" /debug /machine:I386 /out:"$(OUTDIR)/qbsp.exe" 
  182. LINK32_OBJS= \
  183.     ".\Debug\region.obj" \
  184.     ".\Debug\mathlib.obj" \
  185.     ".\Debug\csg4.obj" \
  186.     ".\Debug\portals.obj" \
  187.     ".\Debug\surfaces.obj" \
  188.     ".\Debug\tjunc.obj" \
  189.     ".\Debug\nodraw.obj" \
  190.     ".\Debug\outside.obj" \
  191.     ".\Debug\map.obj" \
  192.     ".\Debug\bspfile.obj" \
  193.     ".\Debug\solidbsp.obj" \
  194.     ".\Debug\brush.obj" \
  195.     ".\Debug\merge.obj" \
  196.     ".\Debug\qbsp.obj" \
  197.     ".\Debug\cmdlib.obj" \
  198.     ".\Debug\writebsp.obj"
  199.  
  200. "$(OUTDIR)\qbsp.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  201.     $(LINK32) @<<
  202.   $(LINK32_FLAGS) $(LINK32_OBJS)
  203. <<
  204.  
  205. !ENDIF 
  206.  
  207. .c{$(CPP_OBJS)}.obj:
  208.    $(CPP) $(CPP_PROJ) $<  
  209.  
  210. .cpp{$(CPP_OBJS)}.obj:
  211.    $(CPP) $(CPP_PROJ) $<  
  212.  
  213. .cxx{$(CPP_OBJS)}.obj:
  214.    $(CPP) $(CPP_PROJ) $<  
  215.  
  216. .c{$(CPP_SBRS)}.sbr:
  217.    $(CPP) $(CPP_PROJ) $<  
  218.  
  219. .cpp{$(CPP_SBRS)}.sbr:
  220.    $(CPP) $(CPP_PROJ) $<  
  221.  
  222. .cxx{$(CPP_SBRS)}.sbr:
  223.    $(CPP) $(CPP_PROJ) $<  
  224.  
  225. ################################################################################
  226. # Begin Target
  227.  
  228. # Name "qbsp - Win32 Release"
  229. # Name "qbsp - Win32 Debug"
  230.  
  231. !IF  "$(CFG)" == "qbsp - Win32 Release"
  232.  
  233. !ELSEIF  "$(CFG)" == "qbsp - Win32 Debug"
  234.  
  235. !ENDIF 
  236.  
  237. ################################################################################
  238. # Begin Source File
  239.  
  240. SOURCE=.\writebsp.c
  241. DEP_CPP_WRITE=\
  242.     ".\bsp5.h"\
  243.     ".\..\common\cmdlib.h"\
  244.     ".\..\common\mathlib.h"\
  245.     ".\..\common\bspfile.h"\
  246.     ".\map.h"\
  247.     
  248.  
  249. "$(INTDIR)\writebsp.obj" : $(SOURCE) $(DEP_CPP_WRITE) "$(INTDIR)"
  250.  
  251.  
  252. # End Source File
  253. ################################################################################
  254. # Begin Source File
  255.  
  256. SOURCE=.\tjunc.c
  257. DEP_CPP_TJUNC=\
  258.     ".\bsp5.h"\
  259.     ".\..\common\cmdlib.h"\
  260.     ".\..\common\mathlib.h"\
  261.     ".\..\common\bspfile.h"\
  262.     ".\map.h"\
  263.     
  264.  
  265. "$(INTDIR)\tjunc.obj" : $(SOURCE) $(DEP_CPP_TJUNC) "$(INTDIR)"
  266.  
  267.  
  268. # End Source File
  269. ################################################################################
  270. # Begin Source File
  271.  
  272. SOURCE=.\surfaces.c
  273. DEP_CPP_SURFA=\
  274.     ".\bsp5.h"\
  275.     ".\..\common\cmdlib.h"\
  276.     ".\..\common\mathlib.h"\
  277.     ".\..\common\bspfile.h"\
  278.     ".\map.h"\
  279.     
  280.  
  281. "$(INTDIR)\surfaces.obj" : $(SOURCE) $(DEP_CPP_SURFA) "$(INTDIR)"
  282.  
  283.  
  284. # End Source File
  285. ################################################################################
  286. # Begin Source File
  287.  
  288. SOURCE=.\solidbsp.c
  289. DEP_CPP_SOLID=\
  290.     ".\bsp5.h"\
  291.     ".\..\common\cmdlib.h"\
  292.     ".\..\common\mathlib.h"\
  293.     ".\..\common\bspfile.h"\
  294.     ".\map.h"\
  295.     
  296.  
  297. "$(INTDIR)\solidbsp.obj" : $(SOURCE) $(DEP_CPP_SOLID) "$(INTDIR)"
  298.  
  299.  
  300. # End Source File
  301. ################################################################################
  302. # Begin Source File
  303.  
  304. SOURCE=.\region.c
  305. DEP_CPP_REGIO=\
  306.     ".\bsp5.h"\
  307.     ".\..\common\cmdlib.h"\
  308.     ".\..\common\mathlib.h"\
  309.     ".\..\common\bspfile.h"\
  310.     ".\map.h"\
  311.     
  312.  
  313. "$(INTDIR)\region.obj" : $(SOURCE) $(DEP_CPP_REGIO) "$(INTDIR)"
  314.  
  315.  
  316. # End Source File
  317. ################################################################################
  318. # Begin Source File
  319.  
  320. SOURCE=.\qbsp.c
  321. DEP_CPP_QBSP_=\
  322.     ".\bsp5.h"\
  323.     ".\..\common\cmdlib.h"\
  324.     ".\..\common\mathlib.h"\
  325.     ".\..\common\bspfile.h"\
  326.     ".\map.h"\
  327.     
  328.  
  329. "$(INTDIR)\qbsp.obj" : $(SOURCE) $(DEP_CPP_QBSP_) "$(INTDIR)"
  330.  
  331.  
  332. # End Source File
  333. ################################################################################
  334. # Begin Source File
  335.  
  336. SOURCE=.\portals.c
  337. DEP_CPP_PORTA=\
  338.     ".\bsp5.h"\
  339.     ".\..\common\cmdlib.h"\
  340.     ".\..\common\mathlib.h"\
  341.     ".\..\common\bspfile.h"\
  342.     ".\map.h"\
  343.     
  344.  
  345. "$(INTDIR)\portals.obj" : $(SOURCE) $(DEP_CPP_PORTA) "$(INTDIR)"
  346.  
  347.  
  348. # End Source File
  349. ################################################################################
  350. # Begin Source File
  351.  
  352. SOURCE=.\outside.c
  353. DEP_CPP_OUTSI=\
  354.     ".\bsp5.h"\
  355.     ".\..\common\cmdlib.h"\
  356.     ".\..\common\mathlib.h"\
  357.     ".\..\common\bspfile.h"\
  358.     ".\map.h"\
  359.     
  360.  
  361. "$(INTDIR)\outside.obj" : $(SOURCE) $(DEP_CPP_OUTSI) "$(INTDIR)"
  362.  
  363.  
  364. # End Source File
  365. ################################################################################
  366. # Begin Source File
  367.  
  368. SOURCE=.\nodraw.c
  369. DEP_CPP_NODRA=\
  370.     ".\bsp5.h"\
  371.     ".\..\common\cmdlib.h"\
  372.     ".\..\common\mathlib.h"\
  373.     ".\..\common\bspfile.h"\
  374.     ".\map.h"\
  375.     
  376.  
  377. "$(INTDIR)\nodraw.obj" : $(SOURCE) $(DEP_CPP_NODRA) "$(INTDIR)"
  378.  
  379.  
  380. # End Source File
  381. ################################################################################
  382. # Begin Source File
  383.  
  384. SOURCE=.\merge.c
  385. DEP_CPP_MERGE=\
  386.     ".\bsp5.h"\
  387.     ".\..\common\cmdlib.h"\
  388.     ".\..\common\mathlib.h"\
  389.     ".\..\common\bspfile.h"\
  390.     ".\map.h"\
  391.     
  392.  
  393. "$(INTDIR)\merge.obj" : $(SOURCE) $(DEP_CPP_MERGE) "$(INTDIR)"
  394.  
  395.  
  396. # End Source File
  397. ################################################################################
  398. # Begin Source File
  399.  
  400. SOURCE=.\map.c
  401. DEP_CPP_MAP_C=\
  402.     ".\bsp5.h"\
  403.     ".\..\common\cmdlib.h"\
  404.     ".\..\common\mathlib.h"\
  405.     ".\..\common\bspfile.h"\
  406.     ".\map.h"\
  407.     
  408.  
  409. "$(INTDIR)\map.obj" : $(SOURCE) $(DEP_CPP_MAP_C) "$(INTDIR)"
  410.  
  411.  
  412. # End Source File
  413. ################################################################################
  414. # Begin Source File
  415.  
  416. SOURCE=.\csg4.c
  417. DEP_CPP_CSG4_=\
  418.     ".\bsp5.h"\
  419.     ".\..\common\cmdlib.h"\
  420.     ".\..\common\mathlib.h"\
  421.     ".\..\common\bspfile.h"\
  422.     ".\map.h"\
  423.     
  424.  
  425. "$(INTDIR)\csg4.obj" : $(SOURCE) $(DEP_CPP_CSG4_) "$(INTDIR)"
  426.  
  427.  
  428. # End Source File
  429. ################################################################################
  430. # Begin Source File
  431.  
  432. SOURCE=.\brush.c
  433. DEP_CPP_BRUSH=\
  434.     ".\bsp5.h"\
  435.     ".\..\common\cmdlib.h"\
  436.     ".\..\common\mathlib.h"\
  437.     ".\..\common\bspfile.h"\
  438.     ".\map.h"\
  439.     
  440.  
  441. "$(INTDIR)\brush.obj" : $(SOURCE) $(DEP_CPP_BRUSH) "$(INTDIR)"
  442.  
  443.  
  444. # End Source File
  445. ################################################################################
  446. # Begin Source File
  447.  
  448. SOURCE=\quake\utils2\common\bspfile.c
  449. DEP_CPP_BSPFI=\
  450.     ".\..\common\cmdlib.h"\
  451.     ".\..\common\mathlib.h"\
  452.     ".\..\common\bspfile.h"\
  453.     
  454.  
  455. "$(INTDIR)\bspfile.obj" : $(SOURCE) $(DEP_CPP_BSPFI) "$(INTDIR)"
  456.    $(CPP) $(CPP_PROJ) $(SOURCE)
  457.  
  458.  
  459. # End Source File
  460. ################################################################################
  461. # Begin Source File
  462.  
  463. SOURCE=\quake\utils2\common\cmdlib.c
  464. DEP_CPP_CMDLI=\
  465.     ".\..\common\cmdlib.h"\
  466.     {$(INCLUDE)}"\sys\TYPES.H"\
  467.     {$(INCLUDE)}"\sys\STAT.H"\
  468.     
  469.  
  470. "$(INTDIR)\cmdlib.obj" : $(SOURCE) $(DEP_CPP_CMDLI) "$(INTDIR)"
  471.    $(CPP) $(CPP_PROJ) $(SOURCE)
  472.  
  473.  
  474. # End Source File
  475. ################################################################################
  476. # Begin Source File
  477.  
  478. SOURCE=\quake\utils2\common\mathlib.c
  479. DEP_CPP_MATHL=\
  480.     ".\..\common\cmdlib.h"\
  481.     ".\..\common\mathlib.h"\
  482.     
  483.  
  484. "$(INTDIR)\mathlib.obj" : $(SOURCE) $(DEP_CPP_MATHL) "$(INTDIR)"
  485.    $(CPP) $(CPP_PROJ) $(SOURCE)
  486.  
  487.  
  488. # End Source File
  489. ################################################################################
  490. # Begin Source File
  491.  
  492. SOURCE=\quake\utils2\common\mathlib.h
  493.  
  494. !IF  "$(CFG)" == "qbsp - Win32 Release"
  495.  
  496. !ELSEIF  "$(CFG)" == "qbsp - Win32 Debug"
  497.  
  498. !ENDIF 
  499.  
  500. # End Source File
  501. ################################################################################
  502. # Begin Source File
  503.  
  504. SOURCE=\quake\utils2\common\cmdlib.h
  505.  
  506. !IF  "$(CFG)" == "qbsp - Win32 Release"
  507.  
  508. !ELSEIF  "$(CFG)" == "qbsp - Win32 Debug"
  509.  
  510. !ENDIF 
  511.  
  512. # End Source File
  513. ################################################################################
  514. # Begin Source File
  515.  
  516. SOURCE=\quake\utils2\common\bspfile.h
  517.  
  518. !IF  "$(CFG)" == "qbsp - Win32 Release"
  519.  
  520. !ELSEIF  "$(CFG)" == "qbsp - Win32 Debug"
  521.  
  522. !ENDIF 
  523.  
  524. # End Source File
  525. # End Target
  526. # End Project
  527. ################################################################################
  528.