Automatic source file dependency generation for GNUmakefile

This automatically saves the dependencies used for a given object file during the first compilation, then uses the generated data for each subsequent compile to determine if the object needs to be rebuilt. Why? Because if I see one more warning about the C++ One Definition Rule, I'm going to fucking snap.

git-svn-id: https://svn.eduke32.com/eduke32@7839 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-07-24 15:00:49 +00:00 committed by Christoph Oelckers
parent 565383e1d2
commit 28c778c8a3
5 changed files with 3 additions and 312 deletions

View file

@ -828,7 +828,7 @@ endif
#### Final setup
COMPILERFLAGS += -I$(engine_inc) -I$(mact_inc) -I$(audiolib_inc) -I$(enet_inc) -I$(glad_inc)
COMPILERFLAGS += -I$(engine_inc) -I$(mact_inc) -I$(audiolib_inc) -I$(enet_inc) -I$(glad_inc) -MP -MMD
ifneq (0,$(USE_PHYSFS))
COMPILERFLAGS += -I$(physfs_inc) -DUSE_PHYSFS
endif
@ -930,12 +930,6 @@ endef
$(foreach i,$(games),$(foreach j,$(roles),$(eval $(call BUILDRULE,$i,$j))))
include $(lpeg_root)/Dependencies.mak
include $(engine_root)/Dependencies.mak
include $(duke3d_root)/Dependencies.mak
include $(sw_root)/Dependencies.mak
#### Rules
$(ebacktrace_dll): platform/Windows/src/backtrace.c
@ -984,6 +978,8 @@ $(duke3d_obj)/lunatic_%.def: $(lunatic_src)/%.lds | $(duke3d_obj)
define OBJECTRULES
include $(wildcard $($1_obj)/*.d)
$$($1_obj)/%.$$o: $$($1_src)/%.nasm | $$($1_obj)
$$(COMPILE_STATUS)
$$(RECIPE_IF) $$(AS) $$(ASFLAGS) $$< -o $$@ $$(RECIPE_RESULT_COMPILE)

View file

@ -1,80 +0,0 @@
# Build Engine dependencies
#
$(engine_obj)/a-c.$o: $(engine_src)/a-c.cpp $(engine_inc)/a.h
$(engine_obj)/a.$o: $(engine_src)/a.$(asm)
$(engine_obj)/animvpx.$o: $(engine_src)/animvpx.cpp $(engine_inc)/animvpx.h $(glad_inc)/glad/glad.h
$(engine_obj)/baselayer.$o: $(engine_src)/baselayer.cpp $(engine_inc)/compat.h $(engine_inc)/baselayer.h $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/osd.h
$(engine_obj)/build.$o: $(engine_src)/build.cpp $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/pragmas.h $(engine_inc)/compat.h $(engine_inc)/baselayer.h $(engine_inc)/editor.h
$(engine_obj)/cache1d.$o: $(engine_src)/cache1d.cpp $(engine_inc)/compat.h $(engine_inc)/cache1d.h $(engine_inc)/pragmas.h $(engine_inc)/baselayer.h $(engine_inc)/kplib.h
$(engine_obj)/compat.$o: $(engine_src)/compat.cpp $(engine_inc)/compat.h $(engine_inc)/libdivide.h
$(engine_obj)/config.$o: $(engine_src)/config.cpp $(engine_inc)/compat.h $(engine_inc)/osd.h $(engine_inc)/editor.h
$(engine_obj)/crc32.$o: $(engine_src)/crc32.cpp $(engine_inc)/crc32.h
$(engine_obj)/defs.$o: $(engine_src)/defs.cpp $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/baselayer.h $(engine_inc)/scriptfile.h $(engine_inc)/compat.h
$(engine_obj)/engine.$o: $(engine_src)/engine.cpp $(engine_inc)/compat.h $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/pragmas.h $(engine_inc)/cache1d.h $(engine_inc)/a.h $(engine_inc)/osd.h $(engine_inc)/baselayer.h $(engine_src)/engine_priv.h $(engine_src)/engine_oldmap.h $(engine_inc)/polymost.h $(engine_inc)/hightile.h $(engine_inc)/mdsprite.h $(engine_inc)/polymer.h
$(engine_obj)/2d.$o: $(engine_src)/2d.cpp $(engine_inc)/build.h
$(engine_obj)/tiles.$o: $(engine_src)/tiles.cpp $(engine_inc)/build.h
$(engine_obj)/clip.$o: $(engine_src)/clip.cpp $(engine_inc)/build.h $(engine_inc)/clip.h
$(engine_obj)/screenshot.$o: $(engine_src)/screenshot.cpp
$(engine_obj)/hash.$o: $(engine_src)/hash.cpp $(engine_inc)/hash.h
$(engine_obj)/colmatch.$o: $(engine_src)/colmatch.cpp
$(engine_obj)/mhk.$o: $(engine_src)/mhk.cpp
$(engine_obj)/palette.$o: $(engine_src)/palette.cpp $(engine_inc)/palette.h
$(engine_obj)/polymost.$o: $(engine_src)/polymost.cpp $(engine_inc)/lz4.h $(engine_inc)/compat.h $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_src)/engine_priv.h $(engine_inc)/polymost.h $(engine_inc)/hightile.h $(engine_inc)/mdsprite.h $(engine_inc)/texcache.h
$(engine_obj)/texcache.$o: $(engine_src)/texcache.cpp $(engine_inc)/texcache.h $(engine_inc)/polymost.h $(engine_inc)/dxtfilter.h $(engine_inc)/kplib.h
$(engine_obj)/tilepacker.$o: $(engine_src)/tilepacker.cpp $(engine_inc)/compat.h $(engine_inc)/build.h $(engine_inc)/tilepacker.h
$(engine_obj)/dxtfilter.$o: $(engine_src)/dxtfilter.cpp $(engine_inc)/dxtfilter.h $(engine_inc)/texcache.h
$(engine_obj)/hightile.$o: $(engine_src)/hightile.cpp $(engine_inc)/kplib.h $(engine_inc)/hightile.h
$(engine_obj)/voxmodel.$o: $(engine_src)/voxmodel.cpp $(engine_src)/engine_priv.h $(engine_inc)/polymost.h $(engine_inc)/hightile.h $(engine_inc)/mdsprite.h $(engine_inc)/texcache.h
$(engine_obj)/mdsprite.$o: $(engine_src)/mdsprite.cpp $(engine_src)/engine_priv.h $(engine_inc)/polymost.h $(engine_inc)/hightile.h $(engine_inc)/mdsprite.h $(engine_inc)/texcache.h
$(engine_obj)/textfont.$o: $(engine_src)/textfont.cpp
$(engine_obj)/smalltextfont.$o: $(engine_src)/smalltextfont.cpp
$(engine_obj)/glbuild.$o: $(engine_src)/glbuild.cpp $(engine_inc)/glbuild.h $(engine_inc)/baselayer.h $(glad_inc)/glad/glad.h
$(engine_obj)/glsurface.$o: $(engine_src)/glsurface.cpp $(engine_inc)/compat.h $(engine_inc)/palette.h $(engine_inc)/glsurface.h $(glad_inc)/glad/glad.h $(engine_inc)/baselayer.h $(engine_inc)/build.h
$(engine_obj)/kplib.$o: $(engine_src)/kplib.cpp $(engine_inc)/compat.h $(engine_inc)/kplib.h
$(engine_obj)/md4.$o: $(engine_src)/md4.cpp $(engine_inc)/md4.h
$(engine_obj)/lz4.$o: $(engine_src)/lz4.c $(engine_inc)/lz4.h
$(engine_obj)/osd.$o: $(engine_src)/osd.cpp $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/osd.h $(engine_inc)/compat.h $(engine_inc)/baselayer.h
$(engine_obj)/pragmas.$o: $(engine_src)/pragmas.cpp $(engine_inc)/compat.h
$(engine_obj)/scriptfile.$o: $(engine_src)/scriptfile.cpp $(engine_inc)/scriptfile.h $(engine_inc)/cache1d.h $(engine_inc)/compat.h
$(engine_obj)/sdlayer.$o: $(engine_src)/sdlayer.cpp $(engine_src)/sdlayer12.cpp $(engine_inc)/compat.h $(engine_inc)/sdlayer.h $(engine_inc)/baselayer.h $(engine_inc)/cache1d.h $(engine_inc)/pragmas.h $(engine_inc)/a.h $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/osd.h $(glad_inc)/glad/glad.h $(engine_inc)/glbuild.h
$(engine_obj)/winlayer.$o: $(engine_src)/winlayer.cpp $(engine_inc)/compat.h $(engine_inc)/winlayer.h $(engine_inc)/baselayer.h $(engine_inc)/pragmas.h $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/a.h $(engine_inc)/osd.h $(engine_inc)/dxdidf.h $(glad_inc)/glad/glad.h $(glad_inc)/glad/glad_wgl.h $(engine_inc)/glbuild.h $(engine_inc)/rawinput.h $(engine_inc)/winbits.h
$(engine_obj)/gtkbits.$o: $(engine_src)/gtkbits.cpp $(engine_inc)/baselayer.h $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/dynamicgtk.h
$(engine_obj)/dynamicgtk.$o: $(engine_src)/dynamicgtk.cpp $(engine_inc)/dynamicgtk.h
$(engine_obj)/polymer.$o: $(engine_src)/polymer.cpp $(engine_inc)/polymer.h $(engine_inc)/compat.h $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(glad_inc)/glad/glad.h $(engine_inc)/glbuild.h $(engine_inc)/osd.h $(engine_inc)/pragmas.h $(engine_inc)/mdsprite.h $(engine_inc)/polymost.h
$(engine_obj)/mutex.$o: $(engine_src)/mutex.cpp $(engine_inc)/mutex.h
$(engine_obj)/rawinput.$o: $(engine_src)/rawinput.cpp $(engine_inc)/rawinput.h
$(engine_obj)/wiibits.$o: $(engine_src)/wiibits.cpp $(engine_inc)/wiibits.h
$(engine_obj)/winbits.$o: $(engine_src)/winbits.cpp $(engine_inc)/winbits.h
$(engine_obj)/xxhash.$o: $(engine_src)/xxhash.c $(engine_inc)/xxhash.h
$(engine_obj)/pngwrite.$o: $(engine_src)/pngwrite.cpp $(engine_inc)/pngwrite.h
$(engine_obj)/fix16.$o: $(engine_src)/fix16.cpp $(engine_inc)/fix16.h $(engine_inc)/fix16_int64.h
$(engine_obj)/miniz.$o: $(engine_src)/miniz.c $(engine_inc)/miniz.h $(engine_inc)/miniz_common.h $(engine_inc)/miniz_tinfl.h $(engine_inc)/miniz_tdef.h
$(engine_obj)/miniz_tinfl.$o: $(engine_src)/miniz_tinfl.c $(engine_inc)/miniz.h $(engine_inc)/miniz_common.h $(engine_inc)/miniz_tinfl.h $(engine_inc)/miniz_tdef.h
$(engine_obj)/miniz_tdef.$o: $(engine_src)/miniz_tdef.c $(engine_inc)/miniz.h $(engine_inc)/miniz_common.h $(engine_inc)/miniz_tinfl.h $(engine_inc)/miniz_tdef.h
$(engine_obj)/fix16_str.$o: $(engine_src)/fix16_str.cpp $(engine_inc)/fix16.h
$(engine_obj)/lunatic.$o: $(engine_src)/lunatic.cpp $(engine_inc)/lunatic.h $(engine_inc)/cache1d.h $(engine_inc)/osd.h
$(engine_obj)/startwin.editor.$o: $(engine_src)/startwin.editor.cpp $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/editor.h $(engine_inc)/winlayer.h $(engine_inc)/compat.h $(engine_inc)/startwin.editor.h
$(engine_obj)/startgtk.editor.$o: $(engine_src)/startgtk.editor.cpp $(engine_inc)/baselayer.h $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(engine_inc)/editor.h $(engine_inc)/compat.h
$(tools_obj)/compat_tools.$o: $(tools_src)/compat_tools.cpp
$(tools_obj)/kextract.$o: $(tools_src)/kextract.cpp $(engine_inc)/compat.h
$(tools_obj)/kgroup.$o: $(tools_src)/kgroup.cpp $(engine_inc)/compat.h
$(tools_obj)/transpal.$o: $(tools_src)/transpal.cpp $(engine_inc)/compat.h $(engine_inc)/pragmas.h
$(tools_obj)/wad2art.$o: $(tools_src)/wad2art.cpp $(engine_inc)/compat.h $(engine_inc)/pragmas.h
$(tools_obj)/wad2map.$o: $(tools_src)/wad2map.cpp $(engine_inc)/compat.h $(engine_inc)/pragmas.h
$(tools_obj)/kmd2tool.$o: $(tools_src)/kmd2tool.cpp $(engine_inc)/compat.h
$(tools_obj)/md2tool.$o: $(tools_src)/md2tool.cpp $(engine_inc)/compat.h $(engine_inc)/build.h $(engine_inc)/buildtypes.h $(glad_inc)/glad/glad.h $(engine_inc)/mdsprite.h
$(tools_obj)/generateicon.$o: $(tools_src)/generateicon.cpp $(engine_inc)/kplib.h $(engine_inc)/compat.h
$(tools_obj)/cacheinfo.$o: $(tools_src)/cacheinfo.cpp $(engine_inc)/compat.h
$(tools_obj)/enumdisplay.$o: $(tools_src)/enumdisplay.cpp $(engine_inc)/compat.h
$(tools_obj)/getdxdidf.$o: $(tools_src)/getdxdidf.cpp $(engine_inc)/compat.h
$(tools_obj)/makesdlkeytrans.$o: $(tools_src)/makesdlkeytrans.cpp
$(tools_obj)/arttool.$o: $(tools_src)/arttool.cpp
$(tools_obj)/givedepth.$o: $(tools_src)/givedepth.cpp
$(tools_obj)/mkpalette.$o: $(tools_src)/mkpalette.cpp
$(tools_obj)/unpackssi.$o: $(tools_src)/unpackssi.cpp
$(tools_obj)/bsuite.$o: $(tools_src)/bsuite.cpp
$(tools_obj)/ivfrate.$o: $(tools_src)/ivfrate.cpp $(engine_inc)/animvpx.h
$(tools_obj)/map2stl.$o: $(tools_src)/map2stl.cpp

View file

@ -1,129 +0,0 @@
duke3d_h=\
$(engine_inc)/compat.h \
$(engine_inc)/pragmas.h \
$(engine_inc)/build.h \
$(engine_inc)/baselayer.h \
$(engine_inc)/polymer.h \
$(engine_inc)/polymost.h \
$(engine_inc)/texcache.h \
$(engine_inc)/cache1d.h \
$(mact_inc)/keyboard.h \
$(mact_inc)/mouse.h \
$(mact_inc)/joystick.h \
$(mact_inc)/control.h \
$(duke3d_src)/macros.h \
$(duke3d_src)/gamedefs.h \
$(duke3d_src)/function.h \
$(duke3d_src)/config.h \
$(duke3d_src)/sounds.h \
$(duke3d_src)/sounds_common.h \
$(duke3d_src)/soundsdyn.h \
$(duke3d_src)/rts.h \
$(duke3d_src)/_rts.h \
$(duke3d_src)/soundefs.h \
$(audiolib_inc)/fx_man.h \
$(audiolib_inc)/music.h \
$(duke3d_src)/namesdyn.h \
$(duke3d_src)/duke3d.h \
$(duke3d_src)/player.h \
$(duke3d_src)/sector.h \
$(duke3d_src)/game.h \
$(duke3d_src)/actors.h \
$(duke3d_src)/menus.h
gamedef_h=$(duke3d_src)/gamedef.h $(duke3d_src)/gameexec.h $(duke3d_src)/gamevars.h
game_defs_dep=$(duke3d_src)/lunatic/_defs_game.lua
$(duke3d_obj)/game.$o: $(duke3d_src)/game.cpp $(game_defs_dep) $(mact_inc)/scriplib.h $(duke3d_h) $(duke3d_src)/input.h $(duke3d_src)/osdfuncs.h $(duke3d_src)/osdcmds.h $(duke3d_src)/grpscan.h $(duke3d_src)/demo.h $(engine_inc)/hightile.h
$(duke3d_obj)/actors.$o: $(duke3d_src)/actors.cpp $(duke3d_h)
$(duke3d_obj)/anim.$o: $(duke3d_src)/anim.cpp $(duke3d_h) $(duke3d_src)/input.h $(mact_inc)/animlib.h $(engine_inc)/animvpx.h
$(duke3d_obj)/cheats.$o: $(duke3d_src)/cheats.cpp $(duke3d_src)/cheats.h
$(duke3d_obj)/cmdline.$o: $(duke3d_src)/cmdline.cpp $(duke3d_src)/cmdline.h
$(duke3d_obj)/demo.$o: $(duke3d_src)/demo.cpp $(duke3d_h) $(duke3d_src)/input.h
$(duke3d_obj)/gamedef.$o: $(duke3d_src)/gamedef.cpp $(duke3d_h) $(gamedef_h) $(duke3d_src)/savegame.h
$(duke3d_obj)/gameexec.$o: $(duke3d_src)/gameexec.cpp $(duke3d_src)/gamestructures.cpp $(duke3d_h) $(gamedef_h)
$(duke3d_obj)/gamestructures.$o: $(duke3d_src)/gamestructures.cpp $(duke3d_h) $(gamedef_h)
$(duke3d_obj)/gamevars.$o: $(duke3d_src)/gamevars.cpp $(duke3d_src)/gamestructures.cpp $(duke3d_h) $(gamedef_h) $(duke3d_src)/savegame.h
$(duke3d_obj)/global.$o: $(duke3d_src)/global.cpp $(duke3d_h)
$(duke3d_obj)/input.$o: $(duke3d_src)/input.cpp $(duke3d_h) $(duke3d_src)/input.h
$(duke3d_obj)/mdump.$o: $(duke3d_src)/mdump.cpp $(duke3d_src)/mdump.h
$(duke3d_obj)/menus.$o: $(duke3d_src)/menus.cpp $(duke3d_h) $(duke3d_src)/input.h $(mact_inc)/mouse.h $(duke3d_src)/menus.h
$(duke3d_obj)/namesdyn.$o: $(duke3d_src)/namesdyn.cpp $(duke3d_h)
$(duke3d_obj)/network.$o: $(duke3d_src)/network.cpp $(duke3d_h)
$(duke3d_obj)/player.$o: $(duke3d_src)/player.cpp $(duke3d_h)
$(duke3d_obj)/premap.$o: $(duke3d_src)/premap.cpp $(duke3d_h) $(engine_inc)/osd.h
$(duke3d_obj)/savegame.$o: $(duke3d_src)/savegame.cpp $(duke3d_h) $(duke3d_src)/savegame.h
$(duke3d_obj)/sbar.$o: $(duke3d_src)/sbar.cpp $(duke3d_src)/sbar.h
$(duke3d_obj)/screens.$o: $(duke3d_src)/screens.cpp $(duke3d_src)/screens.h
$(duke3d_obj)/screentext.$o: $(duke3d_src)/screentext.cpp $(duke3d_src)/screentext.h
$(duke3d_obj)/sector.$o: $(duke3d_src)/sector.cpp $(duke3d_h) $(duke3d_src)/input.h
$(duke3d_obj)/sounds.$o: $(duke3d_src)/sounds.cpp $(duke3d_h)
$(duke3d_obj)/soundsdyn.$o: $(duke3d_src)/soundsdyn.cpp $(duke3d_h)
$(duke3d_obj)/rts.$o: $(duke3d_src)/rts.cpp $(duke3d_h)
$(duke3d_obj)/config.$o: $(duke3d_src)/config.cpp $(duke3d_h) $(mact_inc)/scriplib.h $(duke3d_src)/_functio.h
$(duke3d_obj)/winbits.$o: $(duke3d_src)/winbits.cpp
$(duke3d_obj)/osdfuncs.$o: $(duke3d_src)/names.h $(engine_inc)/build.h $(engine_inc)/osd.h
$(duke3d_obj)/osdcmds.$o: $(duke3d_src)/osdcmds.cpp $(duke3d_src)/osdcmds.h $(engine_inc)/osd.h $(duke3d_h)
$(duke3d_obj)/lunatic_game.$o: $(engine_inc)/lunatic.h $(duke3d_src)/lunatic/lunatic_game.cpp $(duke3d_src)/lunatic/lunatic_game.h $(duke3d_src)/gamedef.h $(duke3d_src)/gameexec.h $(engine_inc)/cache1d.h $(engine_inc)/osd.h
$(duke3d_obj)/lunatic_editor.$o: $(engine_inc)/lunatic.h $(duke3d_src)/lunatic/lunatic_editor.cpp $(duke3d_src)/lunatic/lunatic_editor.h $(engine_inc)/cache1d.h $(engine_inc)/osd.h
# editor objects
m32_script_hs=$(engine_inc)/m32script.h $(duke3d_src)/m32def.h
$(duke3d_obj)/astub.$o: $(duke3d_src)/astub.cpp \
$(engine_inc)/compat.h \
$(engine_inc)/build.h \
$(engine_inc)/editor.h \
$(engine_inc)/pragmas.h \
$(engine_inc)/baselayer.h \
$(engine_inc)/osd.h \
$(engine_inc)/cache1d.h \
$(engine_inc)/crc32.h \
$(engine_inc)/scriptfile.h \
$(engine_inc)/lz4.h \
$(duke3d_src)/macros.h \
$(duke3d_src)/osdfuncs.h \
$(duke3d_src)/names.h \
$(duke3d_src)/mapster32.h \
$(duke3d_src)/keys.h \
$(m32_script_hs)
$(duke3d_obj)/sounds_mapster32.$o: $(duke3d_src)/sounds_mapster32.cpp \
$(duke3d_src)/sounds_mapster32.h \
$(duke3d_src)/sounds_common.h \
$(engine_inc)/compat.h \
$(engine_inc)/baselayer.h \
$(engine_inc)/cache1d.h \
$(engine_inc)/build.h \
$(engine_inc)/editor.h \
$(engine_inc)/osd.h \
$(duke3d_src)/macros.h \
$(audiolib_inc)/fx_man.h \
$(duke3d_obj)/m32def.$o: $(duke3d_src)/m32def.cpp $(m32_script_hs) $(engine_inc)/cache1d.h $(duke3d_src)/sounds_mapster32.h $(duke3d_src)/sounds_common.h $(duke3d_src)/keys.h
$(duke3d_obj)/m32exec.$o: $(duke3d_src)/m32exec.cpp $(m32_script_hs) $(duke3d_src)/sounds_mapster32.h $(duke3d_src)/sounds_common.h $(engine_inc)/osd.h $(duke3d_src)/keys.h $(audiolib_inc)/fx_man.h
$(duke3d_obj)/m32structures.$o: $(duke3d_src)/m32structures.cpp $(m32_script_hs) $(engine_inc)/compat.h $(engine_inc)/prlights.h
$(duke3d_obj)/m32vars.$o: $(duke3d_src)/m32vars.cpp $(duke3d_src)/m32structures.cpp $(m32_script_hs) $(engine_inc)/osd.h $(duke3d_src)/keys.h $(engine_inc)/polymer.h
# TODO: m32common.cpp
# misc objects
$(duke3d_obj)/game_icon.$o: $(duke3d_rsrc)/game_icon.c $(duke3d_rsrc)/game_icon.ico
$(duke3d_obj)/build_icon.$o: $(duke3d_rsrc)/build_icon.c $(duke3d_rsrc)/build_icon.ico
$(duke3d_obj)/grpscan.$o: $(duke3d_src)/grpscan.cpp $(engine_inc)/compat.h $(engine_inc)/baselayer.h $(engine_inc)/scriptfile.h $(engine_inc)/cache1d.h $(engine_inc)/crc32.h $(duke3d_src)/grpscan.h
$(duke3d_obj)/gameres.$o: $(duke3d_rsrc)/gameres.rc $(duke3d_src)/startwin.game.h $(duke3d_rsrc)/game.bmp
$(duke3d_obj)/buildres.$o: $(duke3d_rsrc)/buildres.rc $(engine_inc)/startwin.editor.h $(duke3d_rsrc)/build.bmp
$(duke3d_obj)/startwin.game.$o: $(duke3d_src)/startwin.game.cpp $(duke3d_h) $(engine_inc)/build.h $(engine_inc)/winlayer.h $(engine_inc)/compat.h $(duke3d_src)/grpscan.h
$(duke3d_obj)/startgtk.game.$o: $(duke3d_src)/startgtk.game.cpp $(duke3d_h) $(engine_inc)/dynamicgtk.h $(engine_inc)/build.h $(engine_inc)/baselayer.h $(engine_inc)/compat.h
# mact objects
$(mact_obj)/animlib.$o: $(mact_src)/animlib.cpp $(mact_inc)/animlib.h $(engine_inc)/compat.h
$(mact_obj)/control.$o: $(mact_src)/control.cpp $(mact_inc)/control.h $(mact_inc)/keyboard.h $(mact_inc)/mouse.h $(mact_inc)/joystick.h $(engine_inc)/baselayer.h
$(mact_obj)/keyboard.$o: $(mact_src)/keyboard.cpp $(mact_inc)/keyboard.h $(engine_inc)/compat.h $(engine_inc)/baselayer.h
$(mact_obj)/joystick.$o: $(mact_src)/joystick.cpp $(mact_inc)/joystick.h $(engine_inc)/baselayer.h
$(mact_obj)/scriplib.$o: $(mact_src)/scriplib.cpp $(mact_inc)/scriplib.h $(mact_src)/_scrplib.h $(engine_inc)/compat.h
$(duke3d_obj)/midi.$o: $(duke3d_src)/midi.cpp $(duke3d_src)/_midi.h $(duke3d_src)/midi.h $(audiolib_inc)/music.h
$(duke3d_obj)/mpu401.$o: $(duke3d_src)/mpu401.cpp $(duke3d_src)/mpu401.h $(audiolib_inc)/music.h
$(duke3d_obj)/music.$o: $(duke3d_src)/music.cpp $(duke3d_src)/midi.h $(duke3d_src)/mpu401.h $(audiolib_inc)/music.h

View file

@ -1,6 +0,0 @@
$(lpeg_obj)/lpcap.$o: $(addprefix $(lpeg_src)/,lpcap.c lpcap.h lptypes.h)
$(lpeg_obj)/lpcode.$o: $(addprefix $(lpeg_src)/,lpcode.c lptypes.h lpcode.h lptree.h lpvm.h lpcap.h)
$(lpeg_obj)/lpprint.$o: $(addprefix $(lpeg_src)/,lpprint.c lptypes.h lpprint.h lptree.h lpvm.h lpcap.h)
$(lpeg_obj)/lptree.$o: $(addprefix $(lpeg_src)/,lptree.c lptypes.h lpcap.h lpcode.h lptree.h lpvm.h lpprint.h)
$(lpeg_obj)/lpvm.$o: $(addprefix $(lpeg_src)/,lpvm.c lpcap.h lptypes.h lpvm.h lpprint.h lptree.h)

View file

@ -1,90 +0,0 @@
build_h=$(engine_inc)/build.h $(engine_inc)/compat.h
panel_h=$(sw_src)/panel.h $(sw_src)/mytypes.h $(sw_src)/game.h $(sw_src)/conpic.h
names2_h=$(sw_src)/names2.h $(sw_src)/names.h
game_h=$(sw_src)/game.h $(sw_src)/mytypes.h $(mact_inc)/keyboard.h $(sw_src)/sounds.h $(sw_src)/settings.h $(sw_src)/digi.h $(sw_src)/damage.h $(sw_src)/inv.h $(sw_src)/stag.h
tags_h=$(sw_src)/tags.h $(sw_src)/jtags.h
$(sw_obj)/actor.$o: $(sw_src)/actor.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/weapon.h $(sw_src)/sprite.h $(sw_src)/actor.h $(sw_src)/saveable.h
$(sw_obj)/ai.$o: $(sw_src)/ai.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(tags_h) $(sw_src)/ninja.h $(sw_src)/ai.h $(sw_src)/sector.h $(sw_src)/sprite.h $(sw_src)/network.h $(sw_src)/saveable.h
$(sw_obj)/anim.$o: $(sw_src)/anim.cpp $(build_h) $(sw_src)/keys.h $(sw_src)/mytypes.h $(audiolib_inc)/fx_man.h $(audiolib_inc)/music.h $(mact_inc)/scriplib.h $(sw_src)/gamedefs.h $(mact_inc)/keyboard.h $(mact_inc)/control.h $(sw_src)/config.h $(sw_src)/sounds.h $(sw_src)/function.h $(mact_inc)/animlib.h $(sw_src)/anim.h $(game_h) $(sw_src)/colormap.h $(sw_src)/network.h
$(sw_obj)/border.$o: $(sw_src)/border.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(sw_src)/lists.h $(game_h) $(sw_src)/network.h $(sw_src)/text.h
$(sw_obj)/break.$o: $(sw_src)/break.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/break.h $(sw_src)/sprite.h $(sw_src)/sector.h $(sw_src)/light.h $(sw_src)/weapon.h
$(sw_obj)/bunny.$o: $(sw_src)/bunny.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/pal.h $(sw_src)/sprite.h $(sw_src)/actor.h $(sw_src)/weapon.h $(sw_src)/track.h $(sw_src)/saveable.h
$(sw_obj)/cache.$o: $(sw_src)/cache.cpp $(build_h) $(names2_h) $(game_h) $(tags_h) $(sw_src)/break.h $(sw_src)/quake.h $(sw_src)/pal.h $(sw_src)/cache.h $(sw_src)/sounds.h $(sw_src)/network.h
$(sw_obj)/cd.$o: $(sw_src)/cd.cpp $(sw_src)/mytypes.h $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/player.h $(sw_src)/lists.h $(sw_src)/warp.h $(sw_src)/quake.h $(sw_src)/function.h $(mact_inc)/control.h $(sw_src)/trigger.h $(sw_src)/savedef.h $(sw_src)/menus.h $(sw_src)/network.h $(sw_src)/pal.h
$(sw_obj)/cheats.$o: $(sw_src)/cheats.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(sw_src)/mytypes.h $(mact_inc)/control.h $(sw_src)/function.h $(sw_src)/text.h
$(sw_obj)/colormap.$o: $(sw_src)/colormap.cpp $(build_h) $(sw_src)/keys.h $(sw_src)/pal.h $(game_h)
$(sw_obj)/config.$o: $(sw_src)/config.cpp $(build_h) $(sw_src)/settings.h $(sw_src)/mytypes.h $(mact_inc)/scriplib.h $(sw_src)/gamedefs.h $(mact_inc)/keyboard.h $(sw_src)/function.h $(mact_inc)/control.h $(audiolib_inc)/fx_man.h $(sw_src)/sounds.h $(sw_src)/config.h $(sw_src)/common_game.h $(sw_src)/_functio.h $(sw_src)/_config.h
$(sw_obj)/console.$o: $(sw_src)/console.cpp $(build_h) $(sw_src)/mytypes.h $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/player.h $(sw_src)/lists.h $(sw_src)/warp.h $(sw_src)/quake.h $(sw_src)/function.h $(mact_inc)/control.h $(sw_src)/trigger.h $(sw_src)/savedef.h $(sw_src)/menus.h $(sw_src)/network.h $(sw_src)/pal.h $(sw_src)/weapon.h $(sw_src)/text.h $(sw_src)/jsector.h
$(sw_obj)/coolg.$o: $(sw_src)/coolg.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/sprite.h $(sw_src)/actor.h $(sw_src)/weapon.h $(sw_src)/track.h $(sw_src)/saveable.h
$(sw_obj)/coolie.$o: $(sw_src)/coolie.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/sprite.h $(sw_src)/actor.h $(sw_src)/track.h $(sw_src)/weapon.h $(sw_src)/saveable.h
$(sw_obj)/copysect.$o: $(sw_src)/copysect.cpp $(build_h) $(names2_h) $(game_h) $(tags_h) $(sw_src)/weapon.h $(sw_src)/sprite.h $(sw_src)/track.h
$(sw_obj)/demo.$o: $(sw_src)/demo.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(sw_src)/network.h $(sw_src)/mytypes.h $(mact_inc)/control.h $(sw_src)/function.h $(sw_src)/demo.h $(sw_src)/player.h $(sw_src)/menus.h
$(sw_obj)/draw.$o: $(sw_src)/draw.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(sw_src)/quake.h $(sw_src)/vis.h $(sw_src)/jsector.h $(sw_src)/reserve.h $(sw_src)/mytypes.h $(mact_inc)/control.h $(sw_src)/function.h $(sw_src)/network.h $(sw_src)/pal.h $(sw_src)/player.h $(sw_src)/jtags.h $(sw_src)/parent.h $(sw_src)/cache.h $(sw_src)/text.h $(sw_src)/menus.h $(sw_src)/interp.h $(sw_src)/sector.h
$(sw_obj)/eel.$o: $(sw_src)/eel.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/actor.h $(sw_src)/weapon.h $(sw_src)/track.h $(sw_src)/saveable.h
$(sw_obj)/game.$o: $(sw_src)/game.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/sector.h $(sw_src)/sprite.h $(sw_src)/weapon.h $(sw_src)/player.h $(sw_src)/lists.h $(sw_src)/network.h $(sw_src)/pal.h $(audiolib_inc)/fx_man.h $(sw_src)/mytypes.h $(sw_src)/menus.h $(mact_inc)/control.h $(sw_src)/function.h $(sw_src)/demo.h $(sw_src)/cache.h $(sw_src)/anim.h $(sw_src)/colormap.h $(sw_src)/break.h $(sw_src)/ninja.h $(sw_src)/light.h $(sw_src)/track.h $(sw_src)/jsector.h $(mact_inc)/keyboard.h $(sw_src)/text.h $(audiolib_inc)/music.h $(sw_src)/saveable.h
$(sw_obj)/girlninj.$o: $(sw_src)/girlninj.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/pal.h $(sw_src)/player.h $(sw_src)/network.h $(sw_src)/actor.h $(sw_src)/track.h $(sw_src)/sprite.h $(sw_src)/saveable.h
$(sw_obj)/goro.$o: $(sw_src)/goro.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/actor.h $(sw_src)/track.h $(sw_src)/saveable.h
$(sw_obj)/hornet.$o: $(sw_src)/hornet.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/actor.h $(sw_src)/weapon.h $(sw_src)/track.h $(sw_src)/sprite.h $(sw_src)/saveable.h
$(sw_obj)/interp.$o: $(sw_src)/interp.cpp $(sw_src)/interp.h
$(sw_obj)/interpsh.$o: $(sw_src)/interpsh.cpp $(sw_src)/interp.h
$(sw_obj)/inv.$o: $(sw_src)/inv.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(sw_src)/pal.h $(sw_src)/text.h $(sw_src)/colormap.h $(sw_src)/player.h
$(sw_obj)/jplayer.$o: $(sw_src)/jplayer.cpp $(build_h) $(sw_src)/mytypes.h $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/player.h $(sw_src)/lists.h $(sw_src)/warp.h $(sw_src)/quake.h $(sw_src)/function.h $(mact_inc)/control.h $(sw_src)/trigger.h $(sw_src)/savedef.h $(sw_src)/menus.h $(sw_src)/network.h $(sw_src)/pal.h $(sw_src)/bots.h
$(sw_obj)/jsector.$o: $(sw_src)/jsector.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(sw_src)/jnames.h $(panel_h) $(game_h) $(tags_h) $(sw_src)/sector.h $(sw_src)/player.h $(sw_src)/sprite.h $(sw_src)/reserve.h $(sw_src)/jsector.h $(sw_src)/jtags.h $(sw_src)/lists.h $(sw_src)/pal.h $(sw_src)/parent.h
$(sw_obj)/jweapon.$o: $(sw_src)/jweapon.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/break.h $(sw_src)/quake.h $(sw_src)/network.h $(sw_src)/pal.h $(sw_src)/ai.h $(sw_src)/weapon.h $(sw_src)/sprite.h $(sw_src)/sector.h $(sw_src)/actor.h $(sw_src)/saveable.h
$(sw_obj)/lava.$o: $(sw_src)/lava.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/actor.h $(sw_src)/track.h
$(sw_obj)/light.$o: $(sw_src)/light.cpp $(build_h) $(names2_h) $(game_h) $(sw_src)/light.h
$(sw_obj)/mclip.$o: $(sw_src)/mclip.cpp $(build_h) $(sw_src)/mytypes.h $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/player.h $(sw_src)/mclip.h
$(sw_obj)/mdastr.$o: $(sw_src)/mdastr.cpp $(build_h) $(sw_src)/mytypes.h $(sw_src)/keys.h $(names2_h) $(game_h)
$(sw_obj)/menus.$o: $(sw_src)/menus.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/sector.h $(sw_src)/sprite.h $(sw_src)/weapon.h $(sw_src)/player.h $(sw_src)/jsector.h $(sw_src)/reserve.h $(mact_inc)/control.h $(sw_src)/menus.h $(sw_src)/sw_strs.h $(sw_src)/pal.h $(sw_src)/function.h $(sw_src)/network.h $(audiolib_inc)/fx_man.h $(audiolib_inc)/music.h $(sw_src)/text.h $(sw_src)/colormap.h
$(sw_obj)/miscactr.$o: $(sw_src)/miscactr.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/quake.h $(audiolib_inc)/fx_man.h $(sw_src)/actor.h $(sw_src)/sector.h $(sw_src)/sprite.h $(sw_src)/saveable.h
$(sw_obj)/morph.$o: $(sw_src)/morph.cpp $(build_h) $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/sector.h $(sw_src)/ai.h $(sw_src)/player.h $(sw_src)/saveable.h
$(sw_obj)/network.$o: $(sw_src)/network.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(tags_h) $(game_h) $(sw_src)/network.h $(sw_src)/pal.h $(sw_src)/weapon.h $(sw_src)/text.h $(sw_src)/menus.h
$(sw_obj)/ninja.$o: $(sw_src)/ninja.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/pal.h $(sw_src)/player.h $(sw_src)/network.h $(sw_src)/weapon.h $(sw_src)/track.h $(sw_src)/actor.h $(sw_src)/ninja.h $(sw_src)/sprite.h $(sw_src)/saveable.h
$(sw_obj)/panel.$o: $(sw_src)/panel.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(sw_src)/lists.h $(game_h) $(sw_src)/network.h $(sw_src)/pal.h $(sw_src)/vis.h $(sw_src)/weapon.h $(audiolib_inc)/fx_man.h $(sw_src)/text.h $(sw_src)/player.h $(sw_src)/saveable.h
$(sw_obj)/player.$o: $(sw_src)/player.cpp $(build_h) $(sw_src)/mytypes.h $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/player.h $(sw_src)/lists.h $(sw_src)/warp.h $(sw_src)/quake.h $(sw_src)/text.h $(sw_src)/function.h $(mact_inc)/control.h $(sw_src)/trigger.h $(sw_src)/savedef.h $(sw_src)/menus.h $(sw_src)/network.h $(sw_src)/pal.h $(sw_src)/demo.h $(sw_src)/mclip.h $(audiolib_inc)/fx_man.h $(sw_src)/sprite.h $(sw_src)/weapon.h $(sw_src)/ninja.h $(sw_src)/break.h $(sw_src)/jsector.h $(sw_src)/sector.h $(sw_src)/actor.h $(sw_src)/colormap.h $(audiolib_inc)/music.h $(sw_src)/vis.h $(sw_src)/track.h $(sw_src)/interp.h $(sw_src)/saveable.h
$(sw_obj)/predict.$o: $(sw_src)/predict.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(sw_src)/network.h
$(sw_obj)/quake.$o: $(sw_src)/quake.cpp $(build_h) $(names2_h) $(game_h) $(tags_h) $(sw_src)/break.h $(sw_src)/quake.h $(sw_src)/sprite.h $(sw_src)/saveable.h
$(sw_obj)/ripper.$o: $(sw_src)/ripper.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/pal.h $(sw_src)/actor.h $(sw_src)/sprite.h $(sw_src)/track.h $(sw_src)/saveable.h
$(sw_obj)/ripper2.$o: $(sw_src)/ripper2.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/pal.h $(sw_src)/actor.h $(sw_src)/sprite.h $(sw_src)/track.h $(audiolib_inc)/fx_man.h $(sw_src)/saveable.h
$(sw_obj)/rooms.$o: $(sw_src)/rooms.cpp $(build_h) $(names2_h) $(panel_h) $(game_h) $(sw_src)/warp.h
$(sw_obj)/rotator.$o: $(sw_src)/rotator.cpp $(build_h) $(names2_h) $(panel_h) $(game_h) $(sw_src)/network.h $(tags_h) $(sw_src)/sector.h $(sw_src)/text.h $(sw_src)/interp.h $(sw_src)/sprite.h $(sw_src)/saveable.h
$(sw_obj)/rts.$o: $(sw_src)/rts.cpp $(sw_src)/mytypes.h $(sw_src)/_rts.h $(sw_src)/rts.h $(sw_src)/cache.h
$(sw_obj)/save.$o: $(sw_src)/save.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/lists.h $(sw_src)/interp.h $(sw_src)/network.h $(sw_src)/savedef.h $(sw_src)/jsector.h $(sw_src)/parent.h $(sw_src)/reserve.h $(sw_src)/mfile.h $(sw_src)/weapon.h $(sw_src)/cache.h $(sw_src)/colormap.h $(sw_src)/player.h $(audiolib_inc)/fx_man.h $(audiolib_inc)/music.h $(sw_src)/saveable.h
$(sw_obj)/scrip2.$o: $(sw_src)/scrip2.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(sw_src)/parse.h $(sw_src)/jsector.h $(sw_src)/parent.h
$(sw_obj)/sector.$o: $(sw_src)/sector.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/sector.h $(sw_src)/player.h $(sw_src)/quake.h $(sw_src)/weapon.h $(sw_src)/jtags.h $(sw_src)/network.h $(sw_src)/break.h $(sw_src)/track.h $(sw_src)/sprite.h $(sw_src)/light.h $(sw_src)/text.h
$(sw_obj)/serp.$o: $(sw_src)/serp.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/actor.h $(sw_src)/track.h $(sw_src)/sector.h
$(sw_obj)/setup.$o: $(sw_src)/setup.cpp $(build_h) $(sw_src)/keys.h $(game_h) $(sw_src)/mytypes.h $(audiolib_inc)/fx_man.h $(audiolib_inc)/music.h $(mact_inc)/scriplib.h $(sw_src)/gamedefs.h $(mact_inc)/keyboard.h $(mact_inc)/control.h $(sw_src)/config.h $(sw_src)/sounds.h $(sw_src)/function.h $(sw_src)/rts.h
$(sw_obj)/skel.$o: $(sw_src)/skel.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/actor.h $(sw_src)/track.h
$(sw_obj)/skull.$o: $(sw_src)/skull.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/weapon.h $(sw_src)/actor.h
$(sw_obj)/slidor.$o: $(sw_src)/slidor.cpp $(build_h) $(names2_h) $(panel_h) $(game_h) $(sw_src)/network.h $(tags_h) $(sw_src)/slidor.h $(sw_src)/slidor.h $(sw_src)/sector.h $(sw_src)/interp.h $(sw_src)/text.h $(sw_src)/sprite.h $(sw_src)/saveable.h
$(sw_obj)/sounds.$o: $(sw_src)/sounds.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(sw_src)/mytypes.h $(audiolib_inc)/fx_man.h $(audiolib_inc)/music.h $(sw_src)/gamedefs.h $(sw_src)/config.h $(panel_h) $(game_h) $(sw_src)/sounds.h $(sw_src)/ai.h $(sw_src)/network.h $(sw_src)/cache.h $(sw_src)/text.h $(sw_src)/rts.h $(sw_src)/menus.h
$(sw_obj)/spike.$o: $(sw_src)/spike.cpp $(build_h) $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/sector.h $(sw_src)/sprite.h $(sw_src)/saveable.h
$(sw_obj)/sprite.$o: $(sw_src)/sprite.cpp $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/warp.h $(sw_src)/light.h $(sw_src)/break.h $(sw_src)/network.h $(sw_src)/pal.h $(sw_src)/sounds.h $(sw_src)/interp.h $(sw_src)/sprite.h $(sw_src)/weapon.h $(sw_src)/jsector.h $(sw_src)/text.h $(sw_src)/slidor.h $(sw_src)/player.h $(sw_src)/saveable.h
$(sw_obj)/sumo.$o: $(sw_src)/sumo.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/quake.h $(sw_src)/actor.h $(sw_src)/track.h $(sw_src)/weapon.h $(sw_src)/sector.h
$(sw_obj)/swconfig.$o: $(sw_src)/swconfig.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(sw_src)/mytypes.h $(mact_inc)/scriplib.h $(audiolib_inc)/fx_man.h $(sw_src)/gamedefs.h $(sw_src)/common_game.h $(sw_src)/config.h $(sw_src)/function.h $(sw_src)/rts.h
$(sw_obj)/sync.$o: $(sw_src)/sync.cpp $(sw_src)/keys.h $(game_h) $(tags_h) $(names2_h) $(sw_src)/network.h $(sw_src)/menus.h
$(sw_obj)/text.$o: $(sw_src)/text.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(sw_src)/lists.h $(game_h) $(sw_src)/pal.h $(sw_src)/text.h $(sw_src)/network.h
$(sw_obj)/timer.$o: $(sw_src)/timer.cpp $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/sector.h $(sw_src)/sprite.h $(sw_src)/weapon.h $(audiolib_inc)/fx_man.h $(audiolib_inc)/music.h $(sw_src)/audiofx.h
$(sw_obj)/track.$o: $(sw_src)/track.cpp $(build_h) $(names2_h) $(panel_h) $(tags_h) $(sw_src)/sector.h $(sw_src)/ai.h $(sw_src)/player.h $(game_h) $(sw_src)/network.h $(sw_src)/sprite.h $(sw_src)/track.h $(sw_src)/weapon.h $(sw_src)/saveable.h
$(sw_obj)/vator.$o: $(sw_src)/vator.cpp $(build_h) $(names2_h) $(panel_h) $(game_h) $(sw_src)/network.h $(tags_h) $(sw_src)/sector.h $(sw_src)/interp.h $(sw_src)/text.h $(sw_src)/sprite.h $(sw_src)/weapon.h $(sw_src)/saveable.h
$(sw_obj)/vis.$o: $(sw_src)/vis.cpp $(build_h) $(names2_h) $(game_h) $(tags_h) $(sw_src)/break.h $(sw_src)/quake.h $(sw_src)/pal.h $(sw_src)/sprite.h
$(sw_obj)/wallmove.$o: $(sw_src)/wallmove.cpp $(build_h) $(names2_h) $(game_h) $(tags_h) $(sw_src)/weapon.h $(sw_src)/sprite.h
$(sw_obj)/warp.$o: $(sw_src)/warp.cpp $(build_h) $(names2_h) $(panel_h) $(game_h) $(sw_src)/warp.h
$(sw_obj)/weapon.$o: $(sw_src)/weapon.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/break.h $(sw_src)/quake.h $(sw_src)/network.h $(sw_src)/pal.h $(sw_src)/vis.h $(sw_src)/ai.h $(sw_src)/weapon.h $(sw_src)/anim.h $(sw_src)/damage.h $(sw_src)/sector.h $(sw_src)/sprite.h $(sw_src)/actor.h $(sw_src)/track.h $(sw_src)/player.h
$(sw_obj)/zilla.$o: $(sw_src)/zilla.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/quake.h $(sw_src)/actor.h $(sw_src)/track.h $(audiolib_inc)/fx_man.h
$(sw_obj)/zombie.$o: $(sw_src)/zombie.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(panel_h) $(game_h) $(tags_h) $(sw_src)/ai.h $(sw_src)/pal.h $(sw_src)/player.h $(sw_src)/network.h $(sw_src)/sprite.h $(sw_src)/weapon.h $(sw_src)/actor.h $(sw_src)/track.h
$(sw_obj)/saveable.$o: $(sw_src)/saveable.cpp $(engine_inc)/compat.h $(sw_src)/saveable.h
$(sw_obj)/jnstub.$o: $(sw_src)/jnstub.cpp $(build_h) $(sw_src)/stag.h $(sw_src)/keys.h $(names2_h) $(game_h) $(tags_h) $(sw_src)/pal.h $(engine_inc)/pragmas.h $(engine_inc)/editor.h $(engine_inc)/cache1d.h
$(sw_obj)/brooms.$o: $(sw_src)/brooms.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(engine_inc)/editor.h
$(sw_obj)/bldscript.$o: $(sw_src)/bldscript.cpp $(build_h) $(names2_h) $(game_h) $(sw_src)/parse.h $(engine_inc)/editor.h $(engine_inc)/cache1d.h
$(sw_obj)/jbhlp.$o: $(sw_src)/jbhlp.cpp $(build_h) $(sw_src)/keys.h $(names2_h) $(game_h) $(engine_inc)/editor.h $(engine_inc)/cache1d.h
$(sw_obj)/game_icon.$o: $(sw_rsrc)/game_icon.c
$(sw_obj)/grpscan.$o: $(sw_src)/grpscan.cpp $(engine_inc)/compat.h $(engine_inc)/baselayer.h $(engine_inc)/scriptfile.h $(engine_inc)/cache1d.h $(engine_inc)/crc32.h $(sw_src)/grpscan.h
$(sw_obj)/gameres.$o: $(sw_rsrc)/gameres.rc $(sw_src)/startwin.game.h $(sw_rsrc)/game.bmp $(sw_rsrc)/game_icon.ico
$(sw_obj)/buildres.$o: $(sw_rsrc)/buildres.rc $(sw_rsrc)/build.bmp $(sw_rsrc)/game_icon.ico
$(sw_obj)/startwin.game.$o: $(sw_src)/startwin.game.cpp $(build_h) $(engine_inc)/winlayer.h $(sw_src)/grpscan.h
$(sw_obj)/startgtk.game.$o: $(sw_src)/startgtk.game.cpp $(build_h) $(engine_inc)/dynamicgtk.h $(engine_inc)/baselayer.h $(sw_src)/grpscan.h