LIGHT.MAK 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  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=light - Win32 Debug
  6. !MESSAGE No configuration specified. Defaulting to light - Win32 Debug.
  7. !ENDIF
  8. !IF "$(CFG)" != "light - Win32 Release" && "$(CFG)" != "light - 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 "light.mak" CFG="light - Win32 Debug"
  14. !MESSAGE
  15. !MESSAGE Possible choices for configuration are:
  16. !MESSAGE
  17. !MESSAGE "light - Win32 Release" (based on "Win32 (x86) Console Application")
  18. !MESSAGE "light - 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 "light - Win32 Debug"
  30. CPP=cl.exe
  31. RSC=rc.exe
  32. !IF "$(CFG)" == "light - 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)\light.exe"
  46. CLEAN :
  47. -@erase ".\Release\light.exe"
  48. -@erase ".\Release\trilib.obj"
  49. -@erase ".\Release\threads.obj"
  50. -@erase ".\Release\mathlib.obj"
  51. -@erase ".\Release\light.obj"
  52. -@erase ".\Release\entities.obj"
  53. -@erase ".\Release\bspfile.obj"
  54. -@erase ".\Release\ltface.obj"
  55. -@erase ".\Release\cmdlib.obj"
  56. -@erase ".\Release\trace.obj"
  57. "$(OUTDIR)" :
  58. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  59. # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
  60. # ADD CPP /nologo /GX /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
  61. CPP_PROJ=/nologo /ML /GX /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D\
  62. "_CONSOLE" /Fp"$(INTDIR)/light.pch" /YX /Fo"$(INTDIR)/" /c
  63. CPP_OBJS=.\Release/
  64. CPP_SBRS=
  65. # ADD BASE RSC /l 0x409 /d "NDEBUG"
  66. # ADD RSC /l 0x409 /d "NDEBUG"
  67. BSC32=bscmake.exe
  68. # ADD BASE BSC32 /nologo
  69. # ADD BSC32 /nologo
  70. BSC32_FLAGS=/nologo /o"$(OUTDIR)/light.bsc"
  71. BSC32_SBRS=
  72. LINK32=link.exe
  73. # 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
  74. # 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
  75. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  76. advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  77. odbccp32.lib /nologo /subsystem:console /incremental:no\
  78. /pdb:"$(OUTDIR)/light.pdb" /machine:I386 /out:"$(OUTDIR)/light.exe"
  79. LINK32_OBJS= \
  80. ".\Release\trilib.obj" \
  81. ".\Release\threads.obj" \
  82. ".\Release\mathlib.obj" \
  83. ".\Release\light.obj" \
  84. ".\Release\entities.obj" \
  85. ".\Release\bspfile.obj" \
  86. ".\Release\ltface.obj" \
  87. ".\Release\cmdlib.obj" \
  88. ".\Release\trace.obj"
  89. "$(OUTDIR)\light.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  90. $(LINK32) @<<
  91. $(LINK32_FLAGS) $(LINK32_OBJS)
  92. <<
  93. !ELSEIF "$(CFG)" == "light - Win32 Debug"
  94. # PROP BASE Use_MFC 0
  95. # PROP BASE Use_Debug_Libraries 1
  96. # PROP BASE Output_Dir "Debug"
  97. # PROP BASE Intermediate_Dir "Debug"
  98. # PROP BASE Target_Dir ""
  99. # PROP Use_MFC 0
  100. # PROP Use_Debug_Libraries 1
  101. # PROP Output_Dir "Debug"
  102. # PROP Intermediate_Dir "Debug"
  103. # PROP Target_Dir ""
  104. OUTDIR=.\Debug
  105. INTDIR=.\Debug
  106. ALL : "$(OUTDIR)\light.exe"
  107. CLEAN :
  108. -@erase ".\Debug\vc40.pdb"
  109. -@erase ".\Debug\vc40.idb"
  110. -@erase ".\Debug\light.exe"
  111. -@erase ".\Debug\threads.obj"
  112. -@erase ".\Debug\trilib.obj"
  113. -@erase ".\Debug\bspfile.obj"
  114. -@erase ".\Debug\light.obj"
  115. -@erase ".\Debug\trace.obj"
  116. -@erase ".\Debug\entities.obj"
  117. -@erase ".\Debug\mathlib.obj"
  118. -@erase ".\Debug\ltface.obj"
  119. -@erase ".\Debug\cmdlib.obj"
  120. -@erase ".\Debug\light.ilk"
  121. -@erase ".\Debug\light.pdb"
  122. "$(OUTDIR)" :
  123. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  124. # ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
  125. # ADD CPP /nologo /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
  126. CPP_PROJ=/nologo /MLd /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D\
  127. "_CONSOLE" /Fp"$(INTDIR)/light.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c
  128. CPP_OBJS=.\Debug/
  129. CPP_SBRS=
  130. # ADD BASE RSC /l 0x409 /d "_DEBUG"
  131. # ADD RSC /l 0x409 /d "_DEBUG"
  132. BSC32=bscmake.exe
  133. # ADD BASE BSC32 /nologo
  134. # ADD BSC32 /nologo
  135. BSC32_FLAGS=/nologo /o"$(OUTDIR)/light.bsc"
  136. BSC32_SBRS=
  137. LINK32=link.exe
  138. # 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
  139. # 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
  140. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  141. advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  142. odbccp32.lib /nologo /subsystem:console /incremental:yes\
  143. /pdb:"$(OUTDIR)/light.pdb" /debug /machine:I386 /out:"$(OUTDIR)/light.exe"
  144. LINK32_OBJS= \
  145. ".\Debug\threads.obj" \
  146. ".\Debug\trilib.obj" \
  147. ".\Debug\bspfile.obj" \
  148. ".\Debug\light.obj" \
  149. ".\Debug\trace.obj" \
  150. ".\Debug\entities.obj" \
  151. ".\Debug\mathlib.obj" \
  152. ".\Debug\ltface.obj" \
  153. ".\Debug\cmdlib.obj"
  154. "$(OUTDIR)\light.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  155. $(LINK32) @<<
  156. $(LINK32_FLAGS) $(LINK32_OBJS)
  157. <<
  158. !ENDIF
  159. .c{$(CPP_OBJS)}.obj:
  160. $(CPP) $(CPP_PROJ) $<
  161. .cpp{$(CPP_OBJS)}.obj:
  162. $(CPP) $(CPP_PROJ) $<
  163. .cxx{$(CPP_OBJS)}.obj:
  164. $(CPP) $(CPP_PROJ) $<
  165. .c{$(CPP_SBRS)}.sbr:
  166. $(CPP) $(CPP_PROJ) $<
  167. .cpp{$(CPP_SBRS)}.sbr:
  168. $(CPP) $(CPP_PROJ) $<
  169. .cxx{$(CPP_SBRS)}.sbr:
  170. $(CPP) $(CPP_PROJ) $<
  171. ################################################################################
  172. # Begin Target
  173. # Name "light - Win32 Release"
  174. # Name "light - Win32 Debug"
  175. !IF "$(CFG)" == "light - Win32 Release"
  176. !ELSEIF "$(CFG)" == "light - Win32 Debug"
  177. !ENDIF
  178. ################################################################################
  179. # Begin Source File
  180. SOURCE=.\trace.c
  181. !IF "$(CFG)" == "light - Win32 Release"
  182. DEP_CPP_TRACE=\
  183. ".\light.h"\
  184. "$(INTDIR)\trace.obj" : $(SOURCE) $(DEP_CPP_TRACE) "$(INTDIR)"
  185. !ELSEIF "$(CFG)" == "light - Win32 Debug"
  186. DEP_CPP_TRACE=\
  187. ".\light.h"\
  188. ".\..\common\cmdlib.h"\
  189. ".\..\common\mathlib.h"\
  190. ".\..\common\bspfile.h"\
  191. ".\entities.h"\
  192. ".\threads.h"\
  193. "$(INTDIR)\trace.obj" : $(SOURCE) $(DEP_CPP_TRACE) "$(INTDIR)"
  194. !ENDIF
  195. # End Source File
  196. ################################################################################
  197. # Begin Source File
  198. SOURCE=.\threads.c
  199. DEP_CPP_THREA=\
  200. ".\..\common\cmdlib.h"\
  201. ".\threads.h"\
  202. "$(INTDIR)\threads.obj" : $(SOURCE) $(DEP_CPP_THREA) "$(INTDIR)"
  203. # End Source File
  204. ################################################################################
  205. # Begin Source File
  206. SOURCE=.\ltface.c
  207. !IF "$(CFG)" == "light - Win32 Release"
  208. DEP_CPP_LTFAC=\
  209. ".\light.h"\
  210. "$(INTDIR)\ltface.obj" : $(SOURCE) $(DEP_CPP_LTFAC) "$(INTDIR)"
  211. !ELSEIF "$(CFG)" == "light - Win32 Debug"
  212. DEP_CPP_LTFAC=\
  213. ".\light.h"\
  214. ".\..\common\cmdlib.h"\
  215. ".\..\common\mathlib.h"\
  216. ".\..\common\bspfile.h"\
  217. ".\entities.h"\
  218. ".\threads.h"\
  219. "$(INTDIR)\ltface.obj" : $(SOURCE) $(DEP_CPP_LTFAC) "$(INTDIR)"
  220. !ENDIF
  221. # End Source File
  222. ################################################################################
  223. # Begin Source File
  224. SOURCE=.\light.c
  225. !IF "$(CFG)" == "light - Win32 Release"
  226. DEP_CPP_LIGHT=\
  227. ".\light.h"\
  228. "$(INTDIR)\light.obj" : $(SOURCE) $(DEP_CPP_LIGHT) "$(INTDIR)"
  229. !ELSEIF "$(CFG)" == "light - Win32 Debug"
  230. DEP_CPP_LIGHT=\
  231. ".\light.h"\
  232. ".\..\common\cmdlib.h"\
  233. ".\..\common\mathlib.h"\
  234. ".\..\common\bspfile.h"\
  235. ".\entities.h"\
  236. ".\threads.h"\
  237. "$(INTDIR)\light.obj" : $(SOURCE) $(DEP_CPP_LIGHT) "$(INTDIR)"
  238. !ENDIF
  239. # End Source File
  240. ################################################################################
  241. # Begin Source File
  242. SOURCE=.\entities.c
  243. !IF "$(CFG)" == "light - Win32 Release"
  244. DEP_CPP_ENTIT=\
  245. ".\light.h"\
  246. "$(INTDIR)\entities.obj" : $(SOURCE) $(DEP_CPP_ENTIT) "$(INTDIR)"
  247. !ELSEIF "$(CFG)" == "light - Win32 Debug"
  248. DEP_CPP_ENTIT=\
  249. ".\light.h"\
  250. ".\..\common\cmdlib.h"\
  251. ".\..\common\mathlib.h"\
  252. ".\..\common\bspfile.h"\
  253. ".\entities.h"\
  254. ".\threads.h"\
  255. "$(INTDIR)\entities.obj" : $(SOURCE) $(DEP_CPP_ENTIT) "$(INTDIR)"
  256. !ENDIF
  257. # End Source File
  258. ################################################################################
  259. # Begin Source File
  260. SOURCE=\quake\utils2\common\trilib.c
  261. DEP_CPP_TRILI=\
  262. ".\..\common\cmdlib.h"\
  263. ".\..\common\mathlib.h"\
  264. ".\..\common\trilib.h"\
  265. "$(INTDIR)\trilib.obj" : $(SOURCE) $(DEP_CPP_TRILI) "$(INTDIR)"
  266. $(CPP) $(CPP_PROJ) $(SOURCE)
  267. # End Source File
  268. ################################################################################
  269. # Begin Source File
  270. SOURCE=\quake\utils2\common\mathlib.c
  271. DEP_CPP_MATHL=\
  272. ".\..\common\cmdlib.h"\
  273. ".\..\common\mathlib.h"\
  274. "$(INTDIR)\mathlib.obj" : $(SOURCE) $(DEP_CPP_MATHL) "$(INTDIR)"
  275. $(CPP) $(CPP_PROJ) $(SOURCE)
  276. # End Source File
  277. ################################################################################
  278. # Begin Source File
  279. SOURCE=\quake\utils2\common\cmdlib.c
  280. DEP_CPP_CMDLI=\
  281. ".\..\common\cmdlib.h"\
  282. {$(INCLUDE)}"\sys\TYPES.H"\
  283. {$(INCLUDE)}"\sys\STAT.H"\
  284. "$(INTDIR)\cmdlib.obj" : $(SOURCE) $(DEP_CPP_CMDLI) "$(INTDIR)"
  285. $(CPP) $(CPP_PROJ) $(SOURCE)
  286. # End Source File
  287. ################################################################################
  288. # Begin Source File
  289. SOURCE=\quake\utils2\common\bspfile.c
  290. DEP_CPP_BSPFI=\
  291. ".\..\common\cmdlib.h"\
  292. ".\..\common\mathlib.h"\
  293. ".\..\common\bspfile.h"\
  294. "$(INTDIR)\bspfile.obj" : $(SOURCE) $(DEP_CPP_BSPFI) "$(INTDIR)"
  295. $(CPP) $(CPP_PROJ) $(SOURCE)
  296. # End Source File
  297. # End Target
  298. # End Project
  299. ################################################################################