528 lines
13 KiB
Makefile
528 lines
13 KiB
Makefile
# microsoft developer studio generated nmake file, format version 4.00
|
|
# ** do not edit **
|
|
|
|
# targtype "win32 (x86) console application" 0x0103
|
|
cfg=qbsp - win32 release
|
|
|
|
!if "$(cfg)" == ""
|
|
cfg=qbsp - win32 debug
|
|
!message no configuration specified. defaulting to qbsp - win32 debug.
|
|
!endif
|
|
|
|
!if "$(cfg)" != "qbsp - win32 release" && "$(cfg)" != "qbsp - win32 debug"
|
|
!message invalid configuration "$(cfg)" specified.
|
|
!message you can specify a configuration when running nmake on this makefile
|
|
!message by defining the macro cfg on the command line. for example:
|
|
!message
|
|
!message nmake /f "qbsp.mak" cfg="qbsp - win32 debug"
|
|
!message
|
|
!message possible choices for configuration are:
|
|
!message
|
|
!message "qbsp - win32 release" (based on "win32 (x86) console application")
|
|
!message "qbsp - win32 debug" (based on "win32 (x86) console application")
|
|
!message
|
|
!error an invalid configuration is specified.
|
|
!endif
|
|
|
|
!if "$(os)" == "windows_nt"
|
|
null=
|
|
!else
|
|
null=nul
|
|
!endif
|
|
################################################################################
|
|
# begin project
|
|
# prop target_last_scanned "qbsp - win32 debug"
|
|
cpp=cl.exe
|
|
rsc=rc.exe
|
|
|
|
!if "$(cfg)" == "qbsp - win32 release"
|
|
|
|
# prop base use_mfc 0
|
|
# prop base use_debug_libraries 0
|
|
# prop base output_dir "release"
|
|
# prop base intermediate_dir "release"
|
|
# prop base target_dir ""
|
|
# prop use_mfc 0
|
|
# prop use_debug_libraries 0
|
|
# prop output_dir "release"
|
|
# prop intermediate_dir "release"
|
|
# prop target_dir ""
|
|
outdir=.\release
|
|
intdir=.\release
|
|
|
|
all : "$(outdir)\qbsp.exe"
|
|
|
|
clean :
|
|
-@erase ".\release\qbsp.exe"
|
|
-@erase ".\release\mathlib.obj"
|
|
-@erase ".\release\solidbsp.obj"
|
|
-@erase ".\release\portals.obj"
|
|
-@erase ".\release\surfaces.obj"
|
|
-@erase ".\release\nodraw.obj"
|
|
-@erase ".\release\cmdlib.obj"
|
|
-@erase ".\release\csg4.obj"
|
|
-@erase ".\release\brush.obj"
|
|
-@erase ".\release\merge.obj"
|
|
-@erase ".\release\map.obj"
|
|
-@erase ".\release\region.obj"
|
|
-@erase ".\release\bspfile.obj"
|
|
-@erase ".\release\writebsp.obj"
|
|
-@erase ".\release\outside.obj"
|
|
-@erase ".\release\qbsp.obj"
|
|
-@erase ".\release\tjunc.obj"
|
|
|
|
"$(outdir)" :
|
|
if not exist "$(outdir)/$(null)" mkdir "$(outdir)"
|
|
|
|
# add base cpp /nologo /w3 /gx /o2 /d "win32" /d "ndebug" /d "_console" /yx /c
|
|
# add cpp /nologo /gx /o2 /i "." /d "win32" /d "ndebug" /d "_console" /yx /c
|
|
cpp_proj=/nologo /ml /gx /o2 /i "." /d "win32" /d "ndebug" /d\
|
|
"_console" /fp"$(intdir)/qbsp.pch" /yx /fo"$(intdir)/" /c
|
|
cpp_objs=.\release/
|
|
cpp_sbrs=
|
|
# add base rsc /l 0x409 /d "ndebug"
|
|
# add rsc /l 0x409 /d "ndebug"
|
|
bsc32=bscmake.exe
|
|
# add base bsc32 /nologo
|
|
# add bsc32 /nologo
|
|
bsc32_flags=/nologo /o"$(outdir)/qbsp.bsc"
|
|
bsc32_sbrs=
|
|
link32=link.exe
|
|
# 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
|
|
# 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
|
|
link32_flags=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 /incremental:no\
|
|
/pdb:"$(outdir)/qbsp.pdb" /machine:i386 /out:"$(outdir)/qbsp.exe"
|
|
link32_objs= \
|
|
".\release\mathlib.obj" \
|
|
".\release\solidbsp.obj" \
|
|
".\release\portals.obj" \
|
|
".\release\surfaces.obj" \
|
|
".\release\nodraw.obj" \
|
|
".\release\cmdlib.obj" \
|
|
".\release\csg4.obj" \
|
|
".\release\brush.obj" \
|
|
".\release\merge.obj" \
|
|
".\release\map.obj" \
|
|
".\release\region.obj" \
|
|
".\release\bspfile.obj" \
|
|
".\release\writebsp.obj" \
|
|
".\release\outside.obj" \
|
|
".\release\qbsp.obj" \
|
|
".\release\tjunc.obj"
|
|
|
|
"$(outdir)\qbsp.exe" : "$(outdir)" $(def_file) $(link32_objs)
|
|
$(link32) @<<
|
|
$(link32_flags) $(link32_objs)
|
|
<<
|
|
|
|
!elseif "$(cfg)" == "qbsp - win32 debug"
|
|
|
|
# prop base use_mfc 0
|
|
# prop base use_debug_libraries 1
|
|
# prop base output_dir "debug"
|
|
# prop base intermediate_dir "debug"
|
|
# prop base target_dir ""
|
|
# prop use_mfc 0
|
|
# prop use_debug_libraries 1
|
|
# prop output_dir "debug"
|
|
# prop intermediate_dir "debug"
|
|
# prop target_dir ""
|
|
outdir=.\debug
|
|
intdir=.\debug
|
|
|
|
all : "$(outdir)\qbsp.exe"
|
|
|
|
clean :
|
|
-@erase ".\debug\vc40.pdb"
|
|
-@erase ".\debug\vc40.idb"
|
|
-@erase ".\debug\qbsp.exe"
|
|
-@erase ".\debug\region.obj"
|
|
-@erase ".\debug\mathlib.obj"
|
|
-@erase ".\debug\csg4.obj"
|
|
-@erase ".\debug\portals.obj"
|
|
-@erase ".\debug\surfaces.obj"
|
|
-@erase ".\debug\tjunc.obj"
|
|
-@erase ".\debug\nodraw.obj"
|
|
-@erase ".\debug\outside.obj"
|
|
-@erase ".\debug\map.obj"
|
|
-@erase ".\debug\bspfile.obj"
|
|
-@erase ".\debug\solidbsp.obj"
|
|
-@erase ".\debug\brush.obj"
|
|
-@erase ".\debug\merge.obj"
|
|
-@erase ".\debug\qbsp.obj"
|
|
-@erase ".\debug\cmdlib.obj"
|
|
-@erase ".\debug\writebsp.obj"
|
|
-@erase ".\debug\qbsp.ilk"
|
|
-@erase ".\debug\qbsp.pdb"
|
|
|
|
"$(outdir)" :
|
|
if not exist "$(outdir)/$(null)" mkdir "$(outdir)"
|
|
|
|
# add base cpp /nologo /w3 /gm /gx /zi /od /d "win32" /d "_debug" /d "_console" /yx /c
|
|
# add cpp /nologo /gm /gx /zi /od /i "." /d "win32" /d "_debug" /d "_console" /yx /c
|
|
cpp_proj=/nologo /mld /gm /gx /zi /od /i "." /d "win32" /d "_debug" /d\
|
|
"_console" /fp"$(intdir)/qbsp.pch" /yx /fo"$(intdir)/" /fd"$(intdir)/" /c
|
|
cpp_objs=.\debug/
|
|
cpp_sbrs=
|
|
# add base rsc /l 0x409 /d "_debug"
|
|
# add rsc /l 0x409 /d "_debug"
|
|
bsc32=bscmake.exe
|
|
# add base bsc32 /nologo
|
|
# add bsc32 /nologo
|
|
bsc32_flags=/nologo /o"$(outdir)/qbsp.bsc"
|
|
bsc32_sbrs=
|
|
link32=link.exe
|
|
# 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
|
|
# 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
|
|
link32_flags=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 /incremental:yes\
|
|
/pdb:"$(outdir)/qbsp.pdb" /debug /machine:i386 /out:"$(outdir)/qbsp.exe"
|
|
link32_objs= \
|
|
".\debug\region.obj" \
|
|
".\debug\mathlib.obj" \
|
|
".\debug\csg4.obj" \
|
|
".\debug\portals.obj" \
|
|
".\debug\surfaces.obj" \
|
|
".\debug\tjunc.obj" \
|
|
".\debug\nodraw.obj" \
|
|
".\debug\outside.obj" \
|
|
".\debug\map.obj" \
|
|
".\debug\bspfile.obj" \
|
|
".\debug\solidbsp.obj" \
|
|
".\debug\brush.obj" \
|
|
".\debug\merge.obj" \
|
|
".\debug\qbsp.obj" \
|
|
".\debug\cmdlib.obj" \
|
|
".\debug\writebsp.obj"
|
|
|
|
"$(outdir)\qbsp.exe" : "$(outdir)" $(def_file) $(link32_objs)
|
|
$(link32) @<<
|
|
$(link32_flags) $(link32_objs)
|
|
<<
|
|
|
|
!endif
|
|
|
|
.c{$(cpp_objs)}.obj:
|
|
$(cpp) $(cpp_proj) $<
|
|
|
|
.cpp{$(cpp_objs)}.obj:
|
|
$(cpp) $(cpp_proj) $<
|
|
|
|
.cxx{$(cpp_objs)}.obj:
|
|
$(cpp) $(cpp_proj) $<
|
|
|
|
.c{$(cpp_sbrs)}.sbr:
|
|
$(cpp) $(cpp_proj) $<
|
|
|
|
.cpp{$(cpp_sbrs)}.sbr:
|
|
$(cpp) $(cpp_proj) $<
|
|
|
|
.cxx{$(cpp_sbrs)}.sbr:
|
|
$(cpp) $(cpp_proj) $<
|
|
|
|
################################################################################
|
|
# begin target
|
|
|
|
# name "qbsp - win32 release"
|
|
# name "qbsp - win32 debug"
|
|
|
|
!if "$(cfg)" == "qbsp - win32 release"
|
|
|
|
!elseif "$(cfg)" == "qbsp - win32 debug"
|
|
|
|
!endif
|
|
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\writebsp.c
|
|
dep_cpp_write=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\writebsp.obj" : $(source) $(dep_cpp_write) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\tjunc.c
|
|
dep_cpp_tjunc=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\tjunc.obj" : $(source) $(dep_cpp_tjunc) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\surfaces.c
|
|
dep_cpp_surfa=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\surfaces.obj" : $(source) $(dep_cpp_surfa) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\solidbsp.c
|
|
dep_cpp_solid=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\solidbsp.obj" : $(source) $(dep_cpp_solid) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\region.c
|
|
dep_cpp_regio=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\region.obj" : $(source) $(dep_cpp_regio) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\qbsp.c
|
|
dep_cpp_qbsp_=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\qbsp.obj" : $(source) $(dep_cpp_qbsp_) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\portals.c
|
|
dep_cpp_porta=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\portals.obj" : $(source) $(dep_cpp_porta) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\outside.c
|
|
dep_cpp_outsi=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\outside.obj" : $(source) $(dep_cpp_outsi) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\nodraw.c
|
|
dep_cpp_nodra=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\nodraw.obj" : $(source) $(dep_cpp_nodra) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\merge.c
|
|
dep_cpp_merge=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\merge.obj" : $(source) $(dep_cpp_merge) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\map.c
|
|
dep_cpp_map_c=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\map.obj" : $(source) $(dep_cpp_map_c) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\csg4.c
|
|
dep_cpp_csg4_=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\csg4.obj" : $(source) $(dep_cpp_csg4_) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=.\brush.c
|
|
dep_cpp_brush=\
|
|
".\bsp5.h"\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
".\map.h"\
|
|
|
|
|
|
"$(intdir)\brush.obj" : $(source) $(dep_cpp_brush) "$(intdir)"
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=bspfile.c
|
|
dep_cpp_bspfi=\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
".\bspfile.h"\
|
|
|
|
|
|
"$(intdir)\bspfile.obj" : $(source) $(dep_cpp_bspfi) "$(intdir)"
|
|
$(cpp) $(cpp_proj) $(source)
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=cmdlib.c
|
|
dep_cpp_cmdli=\
|
|
".\cmdlib.h"\
|
|
{$(include)}"\sys\types.h"\
|
|
{$(include)}"\sys\stat.h"\
|
|
|
|
|
|
"$(intdir)\cmdlib.obj" : $(source) $(dep_cpp_cmdli) "$(intdir)"
|
|
$(cpp) $(cpp_proj) $(source)
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=mathlib.c
|
|
dep_cpp_mathl=\
|
|
".\cmdlib.h"\
|
|
".\mathlib.h"\
|
|
|
|
|
|
"$(intdir)\mathlib.obj" : $(source) $(dep_cpp_mathl) "$(intdir)"
|
|
$(cpp) $(cpp_proj) $(source)
|
|
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=mathlib.h
|
|
|
|
!if "$(cfg)" == "qbsp - win32 release"
|
|
|
|
!elseif "$(cfg)" == "qbsp - win32 debug"
|
|
|
|
!endif
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=cmdlib.h
|
|
|
|
!if "$(cfg)" == "qbsp - win32 release"
|
|
|
|
!elseif "$(cfg)" == "qbsp - win32 debug"
|
|
|
|
!endif
|
|
|
|
# end source file
|
|
################################################################################
|
|
# begin source file
|
|
|
|
source=bspfile.h
|
|
|
|
!if "$(cfg)" == "qbsp - win32 release"
|
|
|
|
!elseif "$(cfg)" == "qbsp - win32 debug"
|
|
|
|
!endif
|
|
|
|
# end source file
|
|
# end target
|
|
# end project
|
|
################################################################################
|