2011-07-29 22:08:02 +00:00
|
|
|
duke3d_h=\
|
2014-07-22 07:25:54 +00:00
|
|
|
$(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 \
|
|
|
|
$(DUKE3D_SRC)/jmact/file_lib.h \
|
|
|
|
$(DUKE3D_SRC)/jmact/keyboard.h \
|
|
|
|
$(DUKE3D_SRC)/jmact/mouse.h \
|
|
|
|
$(DUKE3D_SRC)/jmact/joystick.h \
|
|
|
|
$(DUKE3D_SRC)/jmact/control.h \
|
|
|
|
$(DUKE3D_SRC)/jmact/mathutil.h \
|
|
|
|
$(DUKE3D_SRC)/macros.h \
|
|
|
|
$(DUKE3D_INC)/gamedefs.h \
|
|
|
|
$(DUKE3D_INC)/function.h \
|
|
|
|
$(DUKE3D_INC)/config.h \
|
|
|
|
$(DUKE3D_INC)/sounds.h \
|
|
|
|
$(DUKE3D_INC)/sounds_common.h \
|
|
|
|
$(DUKE3D_INC)/soundsdyn.h \
|
|
|
|
$(DUKE3D_INC)/rts.h \
|
|
|
|
$(DUKE3D_INC)/_rts.h \
|
|
|
|
$(DUKE3D_INC)/soundefs.h \
|
|
|
|
$(AUDIOLIB_ROOT)/include/fx_man.h \
|
|
|
|
$(AUDIOLIB_ROOT)/include/music.h \
|
|
|
|
$(DUKE3D_INC)/namesdyn.h \
|
|
|
|
$(DUKE3D_INC)/duke3d.h \
|
|
|
|
$(DUKE3D_INC)/player.h \
|
|
|
|
$(DUKE3D_INC)/sector.h \
|
|
|
|
$(DUKE3D_INC)/game.h \
|
|
|
|
$(DUKE3D_INC)/actors.h
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
gamedef_h=$(DUKE3D_SRC)/gamedef.h $(DUKE3D_SRC)/gameexec.h $(DUKE3D_SRC)/gamevars.h
|
2010-08-02 08:13:51 +00:00
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
game_defs_dep=$(DUKE3D_SRC)/lunatic/defs.ilua
|
2013-02-24 16:05:52 +00:00
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/game.$o: $(DUKE3D_SRC)/game.c $(game_defs_dep) $(DUKE3D_SRC)/jmact/scriplib.h $(duke3d_h) $(DUKE3D_SRC)/input.h $(DUKE3D_INC)/osdfuncs.h $(DUKE3D_INC)/osdcmds.h $(DUKE3D_INC)/grpscan.h $(DUKE3D_INC)/demo.h $(ENGINE_INC)/hightile.h
|
|
|
|
$(DUKE3D_OBJ)/actors.$o: $(DUKE3D_SRC)/actors.c $(duke3d_h)
|
2015-02-11 05:22:07 +00:00
|
|
|
$(DUKE3D_OBJ)/anim.$o: $(DUKE3D_SRC)/anim.c $(duke3d_h) $(DUKE3D_SRC)/input.h $(DUKE3D_SRC)/jmact/animlib.h $(DUKE3D_SRC)/animvpx.h $(DUKE3D_SRC)/animsounds.h
|
|
|
|
$(DUKE3D_OBJ)/animsounds.$o: $(DUKE3D_SRC)/animsounds.c $(DUKE3D_SRC)/animsounds.h
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/demo.$o: $(DUKE3D_SRC)/demo.c $(duke3d_h) $(DUKE3D_SRC)/input.h
|
|
|
|
$(DUKE3D_OBJ)/gamedef.$o: $(DUKE3D_SRC)/gamedef.c $(duke3d_h) $(gamedef_h) $(DUKE3D_SRC)/savegame.h
|
|
|
|
$(DUKE3D_OBJ)/gameexec.$o: $(DUKE3D_SRC)/gameexec.c $(DUKE3D_SRC)/gamestructures.c $(duke3d_h) $(gamedef_h)
|
|
|
|
$(DUKE3D_OBJ)/gamestructures.$o: $(DUKE3D_SRC)/gamestructures.c $(duke3d_h) $(gamedef_h)
|
|
|
|
$(DUKE3D_OBJ)/gamevars.$o: $(DUKE3D_SRC)/gamevars.c $(DUKE3D_SRC)/gamestructures.c $(duke3d_h) $(gamedef_h) $(DUKE3D_SRC)/savegame.h
|
|
|
|
$(DUKE3D_OBJ)/global.$o: $(DUKE3D_SRC)/*.c $(DUKE3D_SRC)/global.c $(duke3d_h)
|
|
|
|
$(DUKE3D_OBJ)/input.$o: $(DUKE3D_SRC)/input.c $(duke3d_h) $(DUKE3D_SRC)/input.h
|
|
|
|
$(DUKE3D_OBJ)/mdump.$o: $(DUKE3D_SRC)/mdump.cpp $(DUKE3D_SRC)/mdump.h
|
2015-01-15 06:45:14 +00:00
|
|
|
$(DUKE3D_OBJ)/menus.$o: $(DUKE3D_SRC)/menus.c $(duke3d_h) $(DUKE3D_SRC)/input.h $(DUKE3D_SRC)/jmact/mouse.h $(DUKE3D_SRC)/menus.h
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/namesdyn.$o: $(DUKE3D_SRC)/namesdyn.c $(duke3d_h)
|
|
|
|
$(DUKE3D_OBJ)/net.$o: $(DUKE3D_SRC)/net.c $(duke3d_h)
|
|
|
|
$(DUKE3D_OBJ)/player.$o: $(DUKE3D_SRC)/player.c $(duke3d_h)
|
|
|
|
$(DUKE3D_OBJ)/premap.$o: $(DUKE3D_SRC)/premap.c $(duke3d_h) $(ENGINE_INC)/osd.h
|
|
|
|
$(DUKE3D_OBJ)/savegame.$o: $(DUKE3D_SRC)/savegame.c $(duke3d_h) $(DUKE3D_SRC)/savegame.h
|
|
|
|
$(DUKE3D_OBJ)/sector.$o: $(DUKE3D_SRC)/sector.c $(duke3d_h) $(DUKE3D_SRC)/input.h
|
|
|
|
$(DUKE3D_OBJ)/sounds.$o: $(DUKE3D_SRC)/sounds.c $(duke3d_h)
|
|
|
|
$(DUKE3D_OBJ)/soundsdyn.$o: $(DUKE3D_SRC)/soundsdyn.c $(duke3d_h)
|
|
|
|
$(DUKE3D_OBJ)/rts.$o: $(DUKE3D_SRC)/rts.c $(duke3d_h)
|
|
|
|
$(DUKE3D_OBJ)/config.$o: $(DUKE3D_SRC)/config.c $(duke3d_h) $(DUKE3D_SRC)/jmact/scriplib.h $(DUKE3D_INC)/_functio.h
|
|
|
|
$(DUKE3D_OBJ)/winbits.$o: $(DUKE3D_SRC)/winbits.c
|
|
|
|
$(DUKE3D_OBJ)/osdfuncs.$o: $(DUKE3D_SRC)/names.h $(ENGINE_INC)/build.h $(ENGINE_INC)/osd.h
|
|
|
|
$(DUKE3D_OBJ)/osdcmds.$o: $(DUKE3D_SRC)/osdcmds.c $(DUKE3D_INC)/osdcmds.h $(ENGINE_INC)/osd.h $(duke3d_h)
|
|
|
|
$(DUKE3D_OBJ)/animvpx.$o: $(DUKE3D_SRC)/animvpx.c $(DUKE3D_SRC)/animvpx.h $(duke3d_h) $(ENGINE_INC)/glbuild.h
|
2012-10-07 15:25:58 +00:00
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/lunatic_game.$o: $(ENGINE_INC)/lunatic.h $(DUKE3D_SRC)/lunatic/lunatic_game.c $(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_m32.$o: $(ENGINE_INC)/lunatic.h $(DUKE3D_SRC)/lunatic/lunatic_m32.c $(DUKE3D_SRC)/lunatic/lunatic_m32.h $(ENGINE_INC)/cache1d.h $(ENGINE_INC)/osd.h
|
2011-09-20 19:12:24 +00:00
|
|
|
|
2011-07-30 13:03:07 +00:00
|
|
|
# editor objects
|
2014-07-22 07:25:54 +00:00
|
|
|
m32_script_hs=$(ENGINE_INC)/m32script.h $(DUKE3D_SRC)/m32def.h
|
|
|
|
$(DUKE3D_OBJ)/astub.$o: $(DUKE3D_SRC)/astub.c \
|
|
|
|
$(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 \
|
2014-05-31 12:26:13 +00:00
|
|
|
$(m32_script_hs)
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/sounds_mapster32.$o: $(DUKE3D_SRC)/sounds_mapster32.c \
|
|
|
|
$(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_ROOT)/include/fx_man.h \
|
|
|
|
$(DUKE3D_SRC)/jmact/mathutil.h
|
2011-07-29 22:08:02 +00:00
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/m32def.$o: $(DUKE3D_SRC)/m32def.c $(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.c $(m32_script_hs) $(DUKE3D_SRC)/sounds_mapster32.h $(DUKE3D_SRC)/sounds_common.h $(ENGINE_INC)/osd.h $(DUKE3D_SRC)/keys.h $(AUDIOLIB_ROOT)/include/fx_man.h
|
|
|
|
$(DUKE3D_OBJ)/m32structures.$o: $(DUKE3D_SRC)/m32structures.c $(m32_script_hs) $(ENGINE_INC)/compat.h $(ENGINE_INC)/prlights.h
|
|
|
|
$(DUKE3D_OBJ)/m32vars.$o: $(DUKE3D_SRC)/m32vars.c $(DUKE3D_SRC)/m32structures.c $(m32_script_hs) $(ENGINE_INC)/osd.h $(DUKE3D_SRC)/keys.h $(ENGINE_INC)/polymer.h
|
2014-08-08 20:02:54 +00:00
|
|
|
# TODO: m32common.c
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2011-07-30 13:03:07 +00:00
|
|
|
# misc objects
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/game_icon.$o: $(DUKE3D_RSRC)/game_icon.c
|
|
|
|
$(DUKE3D_OBJ)/build_icon.$o: $(DUKE3D_RSRC)/build_icon.c
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/grpscan.$o: $(DUKE3D_SRC)/grpscan.c $(ENGINE_INC)/compat.h $(ENGINE_INC)/baselayer.h $(ENGINE_INC)/scriptfile.h $(ENGINE_INC)/cache1d.h $(ENGINE_INC)/crc32.h $(DUKE3D_INC)/grpscan.h
|
|
|
|
$(DUKE3D_OBJ)/gameres.$o: $(DUKE3D_SRC)/misc/gameres.rc $(DUKE3D_SRC)/startwin.game.h $(DUKE3D_RSRC)/game.bmp $(DUKE3D_RSRC)/game_icon.ico
|
|
|
|
$(DUKE3D_OBJ)/buildres.$o: $(DUKE3D_SRC)/misc/buildres.rc $(ENGINE_INC)/startwin.editor.h $(DUKE3D_RSRC)/build.bmp $(DUKE3D_RSRC)/build_icon.ico
|
|
|
|
$(DUKE3D_OBJ)/startwin.game.$o: $(DUKE3D_SRC)/startwin.game.c $(duke3d_h) $(ENGINE_INC)/build.h $(ENGINE_INC)/winlayer.h $(ENGINE_INC)/compat.h $(DUKE3D_INC)/grpscan.h
|
|
|
|
$(DUKE3D_OBJ)/startgtk.game.$o: $(DUKE3D_SRC)/startgtk.game.c $(duke3d_h) $(ENGINE_INC)/dynamicgtk.h $(ENGINE_INC)/build.h $(ENGINE_INC)/baselayer.h $(ENGINE_INC)/compat.h
|
2006-07-07 18:41:05 +00:00
|
|
|
|
2006-04-13 20:47:06 +00:00
|
|
|
|
|
|
|
# jMACT objects
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/animlib.$o: $(DUKE3D_SRC)/jmact/animlib.c $(DUKE3D_SRC)/jmact/animlib.h $(ENGINE_INC)/compat.h
|
|
|
|
$(DUKE3D_OBJ)/file_lib.$o: $(DUKE3D_SRC)/jmact/file_lib.c $(DUKE3D_SRC)/jmact/file_lib.h
|
|
|
|
$(DUKE3D_OBJ)/control.$o: $(DUKE3D_SRC)/jmact/control.c $(DUKE3D_SRC)/jmact/control.h $(DUKE3D_SRC)/jmact/keyboard.h $(DUKE3D_SRC)/jmact/mouse.h $(DUKE3D_SRC)/jmact/joystick.h $(ENGINE_INC)/baselayer.h
|
|
|
|
$(DUKE3D_OBJ)/keyboard.$o: $(DUKE3D_SRC)/jmact/keyboard.c $(DUKE3D_SRC)/jmact/keyboard.h $(ENGINE_INC)/compat.h $(ENGINE_INC)/baselayer.h
|
|
|
|
$(DUKE3D_OBJ)/mouse.$o: $(DUKE3D_SRC)/jmact/mouse.c $(DUKE3D_SRC)/jmact/mouse.h $(ENGINE_INC)/baselayer.h
|
|
|
|
$(DUKE3D_OBJ)/joystick.$o: $(DUKE3D_SRC)/jmact/joystick.c $(DUKE3D_SRC)/jmact/joystick.h $(ENGINE_INC)/baselayer.h
|
|
|
|
$(DUKE3D_OBJ)/mathutil.$o: $(DUKE3D_SRC)/jmact/mathutil.c $(ENGINE_INC)/compat.h $(ENGINE_INC)/pragmas.h
|
|
|
|
$(DUKE3D_OBJ)/scriplib.$o: $(DUKE3D_SRC)/jmact/scriplib.c $(DUKE3D_SRC)/jmact/scriplib.h $(DUKE3D_SRC)/jmact/_scrplib.h $(ENGINE_INC)/compat.h
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/midi.$o: $(DUKE3D_SRC)/midi.c $(DUKE3D_SRC)/_midi.h $(DUKE3D_SRC)/midi.h $(AUDIOLIB_ROOT)/include/music.h
|
|
|
|
$(DUKE3D_OBJ)/mpu401.$o: $(DUKE3D_SRC)/mpu401.c $(DUKE3D_SRC)/mpu401.h $(AUDIOLIB_ROOT)/include/music.h
|
|
|
|
$(DUKE3D_OBJ)/music.$o: $(DUKE3D_SRC)/music.c $(DUKE3D_SRC)/midi.h $(DUKE3D_SRC)/mpu401.h $(AUDIOLIB_ROOT)/include/music.h
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
$(DUKE3D_OBJ)/ivfrate.$o: $(DUKE3D_SRC)/util/ivfrate.c $(DUKE3D_SRC)/animvpx.h
|