QBSP.MAK 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. # Microsoft Developer Studio Generated NMAKE File, Format Version 4.00
  2. # ** DO NOT EDIT **
  3. # TARGTYPE "Win32 (x86) Console Application" 0x0103
  4. !IF "$(CFG)" == ""
  5. CFG=qbsp - Win32 Debug
  6. !MESSAGE No configuration specified. Defaulting to qbsp - Win32 Debug.
  7. !ENDIF
  8. !IF "$(CFG)" != "qbsp - Win32 Release" && "$(CFG)" != "qbsp - 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 "qbsp.mak" CFG="qbsp - Win32 Debug"
  14. !MESSAGE
  15. !MESSAGE Possible choices for configuration are:
  16. !MESSAGE
  17. !MESSAGE "qbsp - Win32 Release" (based on "Win32 (x86) Console Application")
  18. !MESSAGE "qbsp - Win32 Debug" (based on "Win32 (x86) Console Application")
  19. !MESSAGE
  20. !ERROR An invalid configuration is specified.
  21. !ENDIF
  22. !IF "$(OS)" == "Windows_NT"
  23. NULL=
  24. !ELSE
  25. NULL=nul
  26. !ENDIF
  27. ################################################################################
  28. # Begin Project
  29. # PROP Target_Last_Scanned "qbsp - Win32 Debug"
  30. CPP=cl.exe
  31. RSC=rc.exe
  32. !IF "$(CFG)" == "qbsp - Win32 Release"
  33. # PROP BASE Use_MFC 0
  34. # PROP BASE Use_Debug_Libraries 0
  35. # PROP BASE Output_Dir "Release"
  36. # PROP BASE Intermediate_Dir "Release"
  37. # PROP BASE Target_Dir ""
  38. # PROP Use_MFC 0
  39. # PROP Use_Debug_Libraries 0
  40. # PROP Output_Dir "Release"
  41. # PROP Intermediate_Dir "Release"
  42. # PROP Target_Dir ""
  43. OUTDIR=.\Release
  44. INTDIR=.\Release
  45. ALL : "$(OUTDIR)\qbsp.exe"
  46. CLEAN :
  47. -@erase ".\Release\qbsp.exe"
  48. -@erase ".\Release\mathlib.obj"
  49. -@erase ".\Release\solidbsp.obj"
  50. -@erase ".\Release\portals.obj"
  51. -@erase ".\Release\surfaces.obj"
  52. -@erase ".\Release\nodraw.obj"
  53. -@erase ".\Release\cmdlib.obj"
  54. -@erase ".\Release\csg4.obj"
  55. -@erase ".\Release\brush.obj"
  56. -@erase ".\Release\merge.obj"
  57. -@erase ".\Release\map.obj"
  58. -@erase ".\Release\region.obj"
  59. -@erase ".\Release\bspfile.obj"
  60. -@erase ".\Release\writebsp.obj"
  61. -@erase ".\Release\outside.obj"
  62. -@erase ".\Release\qbsp.obj"
  63. -@erase ".\Release\tjunc.obj"
  64. "$(OUTDIR)" :
  65. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  66. # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
  67. # ADD CPP /nologo /GX /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
  68. CPP_PROJ=/nologo /ML /GX /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D\
  69. "_CONSOLE" /Fp"$(INTDIR)/qbsp.pch" /YX /Fo"$(INTDIR)/" /c
  70. CPP_OBJS=.\Release/
  71. CPP_SBRS=
  72. # ADD BASE RSC /l 0x409 /d "NDEBUG"
  73. # ADD RSC /l 0x409 /d "NDEBUG"
  74. BSC32=bscmake.exe
  75. # ADD BASE BSC32 /nologo
  76. # ADD BSC32 /nologo
  77. BSC32_FLAGS=/nologo /o"$(OUTDIR)/qbsp.bsc"
  78. BSC32_SBRS=
  79. LINK32=link.exe
  80. # 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
  81. # 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
  82. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  83. advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  84. odbccp32.lib /nologo /subsystem:console /incremental:no\
  85. /pdb:"$(OUTDIR)/qbsp.pdb" /machine:I386 /out:"$(OUTDIR)/qbsp.exe"
  86. LINK32_OBJS= \
  87. ".\Release\mathlib.obj" \
  88. ".\Release\solidbsp.obj" \
  89. ".\Release\portals.obj" \
  90. ".\Release\surfaces.obj" \
  91. ".\Release\nodraw.obj" \
  92. ".\Release\cmdlib.obj" \
  93. ".\Release\csg4.obj" \
  94. ".\Release\brush.obj" \
  95. ".\Release\merge.obj" \
  96. ".\Release\map.obj" \
  97. ".\Release\region.obj" \
  98. ".\Release\bspfile.obj" \
  99. ".\Release\writebsp.obj" \
  100. ".\Release\outside.obj" \
  101. ".\Release\qbsp.obj" \
  102. ".\Release\tjunc.obj"
  103. "$(OUTDIR)\qbsp.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  104. $(LINK32) @<<
  105. $(LINK32_FLAGS) $(LINK32_OBJS)
  106. <<
  107. !ELSEIF "$(CFG)" == "qbsp - Win32 Debug"
  108. # PROP BASE Use_MFC 0
  109. # PROP BASE Use_Debug_Libraries 1
  110. # PROP BASE Output_Dir "Debug"
  111. # PROP BASE Intermediate_Dir "Debug"
  112. # PROP BASE Target_Dir ""
  113. # PROP Use_MFC 0
  114. # PROP Use_Debug_Libraries 1
  115. # PROP Output_Dir "Debug"
  116. # PROP Intermediate_Dir "Debug"
  117. # PROP Target_Dir ""
  118. OUTDIR=.\Debug
  119. INTDIR=.\Debug
  120. ALL : "$(OUTDIR)\qbsp.exe"
  121. CLEAN :
  122. -@erase ".\Debug\vc40.pdb"
  123. -@erase ".\Debug\vc40.idb"
  124. -@erase ".\Debug\qbsp.exe"
  125. -@erase ".\Debug\region.obj"
  126. -@erase ".\Debug\mathlib.obj"
  127. -@erase ".\Debug\csg4.obj"
  128. -@erase ".\Debug\portals.obj"
  129. -@erase ".\Debug\surfaces.obj"
  130. -@erase ".\Debug\tjunc.obj"
  131. -@erase ".\Debug\nodraw.obj"
  132. -@erase ".\Debug\outside.obj"
  133. -@erase ".\Debug\map.obj"
  134. -@erase ".\Debug\bspfile.obj"
  135. -@erase ".\Debug\solidbsp.obj"
  136. -@erase ".\Debug\brush.obj"
  137. -@erase ".\Debug\merge.obj"
  138. -@erase ".\Debug\qbsp.obj"
  139. -@erase ".\Debug\cmdlib.obj"
  140. -@erase ".\Debug\writebsp.obj"
  141. -@erase ".\Debug\qbsp.ilk"
  142. -@erase ".\Debug\qbsp.pdb"
  143. "$(OUTDIR)" :
  144. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  145. # ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
  146. # ADD CPP /nologo /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
  147. CPP_PROJ=/nologo /MLd /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D\
  148. "_CONSOLE" /Fp"$(INTDIR)/qbsp.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c
  149. CPP_OBJS=.\Debug/
  150. CPP_SBRS=
  151. # ADD BASE RSC /l 0x409 /d "_DEBUG"
  152. # ADD RSC /l 0x409 /d "_DEBUG"
  153. BSC32=bscmake.exe
  154. # ADD BASE BSC32 /nologo
  155. # ADD BSC32 /nologo
  156. BSC32_FLAGS=/nologo /o"$(OUTDIR)/qbsp.bsc"
  157. BSC32_SBRS=
  158. LINK32=link.exe
  159. # 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
  160. # 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
  161. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  162. advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  163. odbccp32.lib /nologo /subsystem:console /incremental:yes\
  164. /pdb:"$(OUTDIR)/qbsp.pdb" /debug /machine:I386 /out:"$(OUTDIR)/qbsp.exe"
  165. LINK32_OBJS= \
  166. ".\Debug\region.obj" \
  167. ".\Debug\mathlib.obj" \
  168. ".\Debug\csg4.obj" \
  169. ".\Debug\portals.obj" \
  170. ".\Debug\surfaces.obj" \
  171. ".\Debug\tjunc.obj" \
  172. ".\Debug\nodraw.obj" \
  173. ".\Debug\outside.obj" \
  174. ".\Debug\map.obj" \
  175. ".\Debug\bspfile.obj" \
  176. ".\Debug\solidbsp.obj" \
  177. ".\Debug\brush.obj" \
  178. ".\Debug\merge.obj" \
  179. ".\Debug\qbsp.obj" \
  180. ".\Debug\cmdlib.obj" \
  181. ".\Debug\writebsp.obj"
  182. "$(OUTDIR)\qbsp.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  183. $(LINK32) @<<
  184. $(LINK32_FLAGS) $(LINK32_OBJS)
  185. <<
  186. !ENDIF
  187. .c{$(CPP_OBJS)}.obj:
  188. $(CPP) $(CPP_PROJ) $<
  189. .cpp{$(CPP_OBJS)}.obj:
  190. $(CPP) $(CPP_PROJ) $<
  191. .cxx{$(CPP_OBJS)}.obj:
  192. $(CPP) $(CPP_PROJ) $<
  193. .c{$(CPP_SBRS)}.sbr:
  194. $(CPP) $(CPP_PROJ) $<
  195. .cpp{$(CPP_SBRS)}.sbr:
  196. $(CPP) $(CPP_PROJ) $<
  197. .cxx{$(CPP_SBRS)}.sbr:
  198. $(CPP) $(CPP_PROJ) $<
  199. ################################################################################
  200. # Begin Target
  201. # Name "qbsp - Win32 Release"
  202. # Name "qbsp - Win32 Debug"
  203. !IF "$(CFG)" == "qbsp - Win32 Release"
  204. !ELSEIF "$(CFG)" == "qbsp - Win32 Debug"
  205. !ENDIF
  206. ################################################################################
  207. # Begin Source File
  208. SOURCE=.\writebsp.c
  209. DEP_CPP_WRITE=\
  210. ".\bsp5.h"\
  211. ".\..\common\cmdlib.h"\
  212. ".\..\common\mathlib.h"\
  213. ".\..\common\bspfile.h"\
  214. ".\map.h"\
  215. "$(INTDIR)\writebsp.obj" : $(SOURCE) $(DEP_CPP_WRITE) "$(INTDIR)"
  216. # End Source File
  217. ################################################################################
  218. # Begin Source File
  219. SOURCE=.\tjunc.c
  220. DEP_CPP_TJUNC=\
  221. ".\bsp5.h"\
  222. ".\..\common\cmdlib.h"\
  223. ".\..\common\mathlib.h"\
  224. ".\..\common\bspfile.h"\
  225. ".\map.h"\
  226. "$(INTDIR)\tjunc.obj" : $(SOURCE) $(DEP_CPP_TJUNC) "$(INTDIR)"
  227. # End Source File
  228. ################################################################################
  229. # Begin Source File
  230. SOURCE=.\surfaces.c
  231. DEP_CPP_SURFA=\
  232. ".\bsp5.h"\
  233. ".\..\common\cmdlib.h"\
  234. ".\..\common\mathlib.h"\
  235. ".\..\common\bspfile.h"\
  236. ".\map.h"\
  237. "$(INTDIR)\surfaces.obj" : $(SOURCE) $(DEP_CPP_SURFA) "$(INTDIR)"
  238. # End Source File
  239. ################################################################################
  240. # Begin Source File
  241. SOURCE=.\solidbsp.c
  242. DEP_CPP_SOLID=\
  243. ".\bsp5.h"\
  244. ".\..\common\cmdlib.h"\
  245. ".\..\common\mathlib.h"\
  246. ".\..\common\bspfile.h"\
  247. ".\map.h"\
  248. "$(INTDIR)\solidbsp.obj" : $(SOURCE) $(DEP_CPP_SOLID) "$(INTDIR)"
  249. # End Source File
  250. ################################################################################
  251. # Begin Source File
  252. SOURCE=.\region.c
  253. DEP_CPP_REGIO=\
  254. ".\bsp5.h"\
  255. ".\..\common\cmdlib.h"\
  256. ".\..\common\mathlib.h"\
  257. ".\..\common\bspfile.h"\
  258. ".\map.h"\
  259. "$(INTDIR)\region.obj" : $(SOURCE) $(DEP_CPP_REGIO) "$(INTDIR)"
  260. # End Source File
  261. ################################################################################
  262. # Begin Source File
  263. SOURCE=.\qbsp.c
  264. DEP_CPP_QBSP_=\
  265. ".\bsp5.h"\
  266. ".\..\common\cmdlib.h"\
  267. ".\..\common\mathlib.h"\
  268. ".\..\common\bspfile.h"\
  269. ".\map.h"\
  270. "$(INTDIR)\qbsp.obj" : $(SOURCE) $(DEP_CPP_QBSP_) "$(INTDIR)"
  271. # End Source File
  272. ################################################################################
  273. # Begin Source File
  274. SOURCE=.\portals.c
  275. DEP_CPP_PORTA=\
  276. ".\bsp5.h"\
  277. ".\..\common\cmdlib.h"\
  278. ".\..\common\mathlib.h"\
  279. ".\..\common\bspfile.h"\
  280. ".\map.h"\
  281. "$(INTDIR)\portals.obj" : $(SOURCE) $(DEP_CPP_PORTA) "$(INTDIR)"
  282. # End Source File
  283. ################################################################################
  284. # Begin Source File
  285. SOURCE=.\outside.c
  286. DEP_CPP_OUTSI=\
  287. ".\bsp5.h"\
  288. ".\..\common\cmdlib.h"\
  289. ".\..\common\mathlib.h"\
  290. ".\..\common\bspfile.h"\
  291. ".\map.h"\
  292. "$(INTDIR)\outside.obj" : $(SOURCE) $(DEP_CPP_OUTSI) "$(INTDIR)"
  293. # End Source File
  294. ################################################################################
  295. # Begin Source File
  296. SOURCE=.\nodraw.c
  297. DEP_CPP_NODRA=\
  298. ".\bsp5.h"\
  299. ".\..\common\cmdlib.h"\
  300. ".\..\common\mathlib.h"\
  301. ".\..\common\bspfile.h"\
  302. ".\map.h"\
  303. "$(INTDIR)\nodraw.obj" : $(SOURCE) $(DEP_CPP_NODRA) "$(INTDIR)"
  304. # End Source File
  305. ################################################################################
  306. # Begin Source File
  307. SOURCE=.\merge.c
  308. DEP_CPP_MERGE=\
  309. ".\bsp5.h"\
  310. ".\..\common\cmdlib.h"\
  311. ".\..\common\mathlib.h"\
  312. ".\..\common\bspfile.h"\
  313. ".\map.h"\
  314. "$(INTDIR)\merge.obj" : $(SOURCE) $(DEP_CPP_MERGE) "$(INTDIR)"
  315. # End Source File
  316. ################################################################################
  317. # Begin Source File
  318. SOURCE=.\map.c
  319. DEP_CPP_MAP_C=\
  320. ".\bsp5.h"\
  321. ".\..\common\cmdlib.h"\
  322. ".\..\common\mathlib.h"\
  323. ".\..\common\bspfile.h"\
  324. ".\map.h"\
  325. "$(INTDIR)\map.obj" : $(SOURCE) $(DEP_CPP_MAP_C) "$(INTDIR)"
  326. # End Source File
  327. ################################################################################
  328. # Begin Source File
  329. SOURCE=.\csg4.c
  330. DEP_CPP_CSG4_=\
  331. ".\bsp5.h"\
  332. ".\..\common\cmdlib.h"\
  333. ".\..\common\mathlib.h"\
  334. ".\..\common\bspfile.h"\
  335. ".\map.h"\
  336. "$(INTDIR)\csg4.obj" : $(SOURCE) $(DEP_CPP_CSG4_) "$(INTDIR)"
  337. # End Source File
  338. ################################################################################
  339. # Begin Source File
  340. SOURCE=.\brush.c
  341. DEP_CPP_BRUSH=\
  342. ".\bsp5.h"\
  343. ".\..\common\cmdlib.h"\
  344. ".\..\common\mathlib.h"\
  345. ".\..\common\bspfile.h"\
  346. ".\map.h"\
  347. "$(INTDIR)\brush.obj" : $(SOURCE) $(DEP_CPP_BRUSH) "$(INTDIR)"
  348. # End Source File
  349. ################################################################################
  350. # Begin Source File
  351. SOURCE=\quake\utils2\common\bspfile.c
  352. DEP_CPP_BSPFI=\
  353. ".\..\common\cmdlib.h"\
  354. ".\..\common\mathlib.h"\
  355. ".\..\common\bspfile.h"\
  356. "$(INTDIR)\bspfile.obj" : $(SOURCE) $(DEP_CPP_BSPFI) "$(INTDIR)"
  357. $(CPP) $(CPP_PROJ) $(SOURCE)
  358. # End Source File
  359. ################################################################################
  360. # Begin Source File
  361. SOURCE=\quake\utils2\common\cmdlib.c
  362. DEP_CPP_CMDLI=\
  363. ".\..\common\cmdlib.h"\
  364. {$(INCLUDE)}"\sys\TYPES.H"\
  365. {$(INCLUDE)}"\sys\STAT.H"\
  366. "$(INTDIR)\cmdlib.obj" : $(SOURCE) $(DEP_CPP_CMDLI) "$(INTDIR)"
  367. $(CPP) $(CPP_PROJ) $(SOURCE)
  368. # End Source File
  369. ################################################################################
  370. # Begin Source File
  371. SOURCE=\quake\utils2\common\mathlib.c
  372. DEP_CPP_MATHL=\
  373. ".\..\common\cmdlib.h"\
  374. ".\..\common\mathlib.h"\
  375. "$(INTDIR)\mathlib.obj" : $(SOURCE) $(DEP_CPP_MATHL) "$(INTDIR)"
  376. $(CPP) $(CPP_PROJ) $(SOURCE)
  377. # End Source File
  378. ################################################################################
  379. # Begin Source File
  380. SOURCE=\quake\utils2\common\mathlib.h
  381. !IF "$(CFG)" == "qbsp - Win32 Release"
  382. !ELSEIF "$(CFG)" == "qbsp - Win32 Debug"
  383. !ENDIF
  384. # End Source File
  385. ################################################################################
  386. # Begin Source File
  387. SOURCE=\quake\utils2\common\cmdlib.h
  388. !IF "$(CFG)" == "qbsp - Win32 Release"
  389. !ELSEIF "$(CFG)" == "qbsp - Win32 Debug"
  390. !ENDIF
  391. # End Source File
  392. ################################################################################
  393. # Begin Source File
  394. SOURCE=\quake\utils2\common\bspfile.h
  395. !IF "$(CFG)" == "qbsp - Win32 Release"
  396. !ELSEIF "$(CFG)" == "qbsp - Win32 Debug"
  397. !ENDIF
  398. # End Source File
  399. # End Target
  400. # End Project
  401. ################################################################################