2011-07-29 22:08:02 +00:00
|
|
|
duke3d_h=\
|
|
|
|
$(EINC)/compat.h \
|
|
|
|
$(EINC)/pragmas.h \
|
|
|
|
$(EINC)/build.h \
|
|
|
|
$(EINC)/baselayer.h \
|
|
|
|
$(EINC)/polymer.h \
|
2011-07-30 13:03:07 +00:00
|
|
|
$(EINC)/polymost.h \
|
2013-05-15 02:17:17 +00:00
|
|
|
$(EINC)/texcache.h \
|
2011-07-29 22:08:02 +00:00
|
|
|
$(EINC)/cache1d.h \
|
|
|
|
$(SRC)/jmact/file_lib.h \
|
|
|
|
$(SRC)/jmact/keyboard.h \
|
2012-06-03 16:11:22 +00:00
|
|
|
$(SRC)/jmact/mouse.h \
|
|
|
|
$(SRC)/jmact/joystick.h \
|
2011-07-29 22:08:02 +00:00
|
|
|
$(SRC)/jmact/control.h \
|
2011-07-30 13:03:07 +00:00
|
|
|
$(SRC)/jmact/mathutil.h \
|
|
|
|
$(SRC)/macros.h \
|
2011-07-29 22:08:02 +00:00
|
|
|
$(INC)/gamedefs.h \
|
|
|
|
$(INC)/function.h \
|
|
|
|
$(INC)/config.h \
|
|
|
|
$(INC)/sounds.h \
|
2013-09-08 20:18:56 +00:00
|
|
|
$(INC)/sounds_common.h \
|
2013-06-01 06:55:30 +00:00
|
|
|
$(INC)/soundsdyn.h \
|
2011-07-29 22:08:02 +00:00
|
|
|
$(INC)/rts.h \
|
|
|
|
$(INC)/_rts.h \
|
|
|
|
$(INC)/soundefs.h \
|
|
|
|
$(JAUDIOLIBDIR)/include/fx_man.h \
|
|
|
|
$(JAUDIOLIBDIR)/include/music.h \
|
|
|
|
$(INC)/namesdyn.h \
|
|
|
|
$(INC)/duke3d.h \
|
|
|
|
$(INC)/player.h \
|
|
|
|
$(INC)/sector.h \
|
|
|
|
$(INC)/game.h \
|
|
|
|
$(INC)/actors.h
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2010-08-02 08:13:51 +00:00
|
|
|
gamedef_h=$(SRC)/gamedef.h $(SRC)/gameexec.h $(SRC)/gamevars.h
|
|
|
|
|
2013-03-27 01:38:21 +00:00
|
|
|
game_defs_dep=$(SRC)/lunatic/defs.ilua
|
2013-02-24 16:05:52 +00:00
|
|
|
|
|
|
|
$(OBJ)/game.$o: $(SRC)/game.c $(game_defs_dep) $(SRC)/jmact/scriplib.h $(duke3d_h) $(SRC)/input.h $(INC)/osdfuncs.h $(INC)/osdcmds.h $(INC)/grpscan.h $(INC)/demo.h $(EINC)/hightile.h
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/actors.$o: $(SRC)/actors.c $(duke3d_h)
|
2012-06-03 16:11:22 +00:00
|
|
|
$(OBJ)/anim.$o: $(SRC)/anim.c $(duke3d_h) $(SRC)/input.h $(SRC)/jmact/animlib.h $(SRC)/animvpx.h
|
|
|
|
$(OBJ)/demo.$o: $(SRC)/demo.c $(duke3d_h) $(SRC)/input.h
|
2011-07-29 22:08:02 +00:00
|
|
|
$(OBJ)/gamedef.$o: $(SRC)/gamedef.c $(duke3d_h) $(gamedef_h) $(SRC)/savegame.h
|
2008-12-13 08:02:22 +00:00
|
|
|
$(OBJ)/gameexec.$o: $(SRC)/gameexec.c $(SRC)/gamestructures.c $(duke3d_h) $(gamedef_h)
|
2008-09-03 04:20:46 +00:00
|
|
|
$(OBJ)/gamestructures.$o: $(SRC)/gamestructures.c $(duke3d_h) $(gamedef_h)
|
2011-07-29 22:08:02 +00:00
|
|
|
$(OBJ)/gamevars.$o: $(SRC)/gamevars.c $(SRC)/gamestructures.c $(duke3d_h) $(gamedef_h) $(SRC)/savegame.h
|
2007-01-26 00:28:44 +00:00
|
|
|
$(OBJ)/global.$o: $(SRC)/*.c $(SRC)/global.c $(duke3d_h)
|
2012-06-03 16:11:22 +00:00
|
|
|
$(OBJ)/input.$o: $(SRC)/input.c $(duke3d_h) $(SRC)/input.h
|
2007-09-11 02:23:08 +00:00
|
|
|
$(OBJ)/mdump.$o: $(SRC)/mdump.cpp $(SRC)/mdump.h
|
2012-06-03 16:11:22 +00:00
|
|
|
$(OBJ)/menus.$o: $(SRC)/menus.c $(duke3d_h) $(SRC)/input.h $(SRC)/jmact/mouse.h
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/namesdyn.$o: $(SRC)/namesdyn.c $(duke3d_h)
|
2010-08-02 08:13:51 +00:00
|
|
|
$(OBJ)/net.$o: $(SRC)/net.c $(duke3d_h)
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/player.$o: $(SRC)/player.c $(duke3d_h)
|
|
|
|
$(OBJ)/premap.$o: $(SRC)/premap.c $(duke3d_h) $(EINC)/osd.h
|
2011-07-29 22:08:02 +00:00
|
|
|
$(OBJ)/savegame.$o: $(SRC)/savegame.c $(duke3d_h) $(SRC)/savegame.h
|
2012-06-03 16:11:22 +00:00
|
|
|
$(OBJ)/sector.$o: $(SRC)/sector.c $(duke3d_h) $(SRC)/input.h
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/sounds.$o: $(SRC)/sounds.c $(duke3d_h)
|
2013-06-01 06:55:30 +00:00
|
|
|
$(OBJ)/soundsdyn.$o: $(SRC)/soundsdyn.c $(duke3d_h)
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/rts.$o: $(SRC)/rts.c $(duke3d_h)
|
|
|
|
$(OBJ)/config.$o: $(SRC)/config.c $(duke3d_h) $(SRC)/jmact/scriplib.h $(INC)/_functio.h
|
|
|
|
$(OBJ)/winbits.$o: $(SRC)/winbits.c
|
2008-07-18 23:29:20 +00:00
|
|
|
$(OBJ)/osdfuncs.$o: $(SRC)/names.h $(EINC)/build.h $(EINC)/osd.h
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/osdcmds.$o: $(SRC)/osdcmds.c $(INC)/osdcmds.h $(EINC)/osd.h $(duke3d_h)
|
2011-07-29 22:08:02 +00:00
|
|
|
$(OBJ)/animvpx.$o: $(SRC)/animvpx.c $(SRC)/animvpx.h $(duke3d_h) $(EINC)/glbuild.h
|
2012-10-07 15:25:58 +00:00
|
|
|
|
2012-11-10 20:59:00 +00:00
|
|
|
$(OBJ)/lunatic_game.$o: $(EINC)/lunatic.h $(SRC)/lunatic/lunatic_game.c $(SRC)/lunatic/lunatic_game.h $(SRC)/gamedef.h $(SRC)/gameexec.h $(EINC)/cache1d.h $(EINC)/osd.h
|
|
|
|
$(OBJ)/lunatic_m32.$o: $(EINC)/lunatic.h $(SRC)/lunatic/lunatic_m32.c $(SRC)/lunatic/lunatic_m32.h $(EINC)/cache1d.h $(EINC)/osd.h
|
2011-09-20 19:12:24 +00:00
|
|
|
|
2011-07-30 13:03:07 +00:00
|
|
|
# editor objects
|
|
|
|
m32_script_hs=$(EINC)/m32script.h $(SRC)/m32def.h
|
|
|
|
$(OBJ)/astub.$o: $(SRC)/astub.c \
|
|
|
|
$(EINC)/compat.h \
|
|
|
|
$(EINC)/build.h \
|
|
|
|
$(EINC)/editor.h \
|
|
|
|
$(EINC)/pragmas.h \
|
|
|
|
$(EINC)/baselayer.h \
|
|
|
|
$(EINC)/osd.h \
|
|
|
|
$(EINC)/cache1d.h \
|
|
|
|
$(EINC)/crc32.h \
|
|
|
|
$(EINC)/scriptfile.h \
|
|
|
|
$(EINC)/quicklz.h \
|
|
|
|
$(SRC)/macros.h \
|
|
|
|
$(SRC)/osdfuncs.h \
|
|
|
|
$(SRC)/names.h \
|
|
|
|
$(SRC)/mapster32.h \
|
|
|
|
$(SRC)/keys.h \
|
|
|
|
$(m32_script_hs)
|
|
|
|
$(OBJ)/sounds_mapster32.$o: $(SRC)/sounds_mapster32.c \
|
|
|
|
$(SRC)/sounds_mapster32.h \
|
2013-09-08 20:18:56 +00:00
|
|
|
$(SRC)/sounds_common.h \
|
2011-07-30 13:03:07 +00:00
|
|
|
$(EINC)/compat.h \
|
|
|
|
$(EINC)/baselayer.h \
|
|
|
|
$(EINC)/cache1d.h \
|
|
|
|
$(EINC)/build.h \
|
|
|
|
$(EINC)/editor.h \
|
|
|
|
$(EINC)/osd.h \
|
|
|
|
$(SRC)/macros.h \
|
|
|
|
$(JAUDIOLIBDIR)/include/fx_man.h \
|
|
|
|
$(SRC)/jmact/mathutil.h
|
2011-07-29 22:08:02 +00:00
|
|
|
|
2013-09-08 20:18:56 +00:00
|
|
|
$(OBJ)/m32def.$o: $(SRC)/m32def.c $(m32_script_hs) $(EINC)/cache1d.h $(SRC)/sounds_mapster32.h $(SRC)/sounds_common.h $(SRC)/keys.h
|
|
|
|
$(OBJ)/m32exec.$o: $(SRC)/m32exec.c $(m32_script_hs) $(SRC)/sounds_mapster32.h $(SRC)/sounds_common.h $(EINC)/osd.h $(SRC)/keys.h $(JAUDIOLIBDIR)/include/fx_man.h
|
2011-07-30 13:03:07 +00:00
|
|
|
$(OBJ)/m32structures.$o: $(SRC)/m32structures.c $(m32_script_hs) $(EINC)/compat.h $(EINC)/prlights.h
|
|
|
|
$(OBJ)/m32vars.$o: $(SRC)/m32vars.c $(SRC)/m32structures.c $(m32_script_hs) $(EINC)/osd.h $(SRC)/keys.h $(EINC)/polymer.h
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2011-07-30 13:03:07 +00:00
|
|
|
# misc objects
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/game_icon.$o: $(RSRC)/game_icon.c
|
|
|
|
$(OBJ)/build_icon.$o: $(RSRC)/build_icon.c
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/grpscan.$o: $(SRC)/grpscan.c $(EINC)/compat.h $(EINC)/baselayer.h $(EINC)/scriptfile.h $(EINC)/cache1d.h $(EINC)/crc32.h $(INC)/grpscan.h
|
2006-10-15 18:59:45 +00:00
|
|
|
$(OBJ)/gameres.$o: $(SRC)/misc/gameres.rc $(SRC)/startwin.game.h $(RSRC)/game.bmp $(RSRC)/game_icon.ico
|
|
|
|
$(OBJ)/buildres.$o: $(SRC)/misc/buildres.rc $(EINC)/startwin.editor.h $(RSRC)/build.bmp $(RSRC)/build_icon.ico
|
|
|
|
$(OBJ)/startwin.game.$o: $(SRC)/startwin.game.c $(duke3d_h) $(EINC)/build.h $(EINC)/winlayer.h $(EINC)/compat.h $(INC)/grpscan.h
|
|
|
|
$(OBJ)/startgtk.game.$o: $(SRC)/startgtk.game.c $(duke3d_h) $(EINC)/dynamicgtk.h $(EINC)/build.h $(EINC)/baselayer.h $(EINC)/compat.h
|
2006-07-07 18:41:05 +00:00
|
|
|
|
2006-04-13 20:47:06 +00:00
|
|
|
|
|
|
|
# jMACT objects
|
2010-07-19 15:14:00 +00:00
|
|
|
$(OBJ)/animlib.$o: $(SRC)/jmact/animlib.c $(SRC)/jmact/animlib.h $(EINC)/compat.h
|
2009-04-26 05:57:42 +00:00
|
|
|
$(OBJ)/file_lib.$o: $(SRC)/jmact/file_lib.c $(SRC)/jmact/file_lib.h
|
2012-06-03 16:11:22 +00:00
|
|
|
$(OBJ)/control.$o: $(SRC)/jmact/control.c $(SRC)/jmact/control.h $(SRC)/jmact/keyboard.h $(SRC)/jmact/mouse.h $(SRC)/jmact/joystick.h $(EINC)/baselayer.h
|
2009-04-26 05:57:42 +00:00
|
|
|
$(OBJ)/keyboard.$o: $(SRC)/jmact/keyboard.c $(SRC)/jmact/keyboard.h $(EINC)/compat.h $(EINC)/baselayer.h
|
|
|
|
$(OBJ)/mouse.$o: $(SRC)/jmact/mouse.c $(SRC)/jmact/mouse.h $(EINC)/baselayer.h
|
2012-06-03 16:11:22 +00:00
|
|
|
$(OBJ)/joystick.$o: $(SRC)/jmact/joystick.c $(SRC)/jmact/joystick.h $(EINC)/baselayer.h
|
2011-07-30 13:03:07 +00:00
|
|
|
$(OBJ)/mathutil.$o: $(SRC)/jmact/mathutil.c $(EINC)/compat.h $(EINC)/pragmas.h
|
2010-07-19 15:14:00 +00:00
|
|
|
$(OBJ)/scriplib.$o: $(SRC)/jmact/scriplib.c $(SRC)/jmact/scriplib.h $(SRC)/jmact/_scrplib.h $(EINC)/compat.h
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-07-27 10:46:42 +00:00
|
|
|
$(OBJ)/midi.$o: $(SRC)/midi.c $(SRC)/_midi.h $(SRC)/midi.h $(JAUDIOLIBDIR)/include/music.h
|
|
|
|
$(OBJ)/mpu401.$o: $(SRC)/mpu401.c $(SRC)/mpu401.h $(JAUDIOLIBDIR)/include/music.h
|
|
|
|
$(OBJ)/music.$o: $(SRC)/music.c $(SRC)/midi.h $(SRC)/mpu401.h $(JAUDIOLIBDIR)/include/music.h
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-11-15 06:42:37 +00:00
|
|
|
$(OBJ)/ivfrate.$o: $(SRC)/util/ivfrate.c $(SRC)/animvpx.h
|