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 \
|
2011-07-29 22:08:02 +00:00
|
|
|
$(EINC)/cache1d.h \
|
|
|
|
$(SRC)/jmact/file_lib.h \
|
|
|
|
$(SRC)/jmact/keyboard.h \
|
|
|
|
$(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 \
|
|
|
|
$(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
|
|
|
|
|
|
|
|
$(OBJ)/game.$o: $(SRC)/game.c $(SRC)/jmact/scriplib.h $(duke3d_h) $(INC)/osdfuncs.h $(INC)/osdcmds.h $(INC)/grpscan.h $(INC)/demo.h
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/actors.$o: $(SRC)/actors.c $(duke3d_h)
|
2011-07-29 22:08:02 +00:00
|
|
|
$(OBJ)/anim.$o: $(SRC)/anim.c $(duke3d_h) $(SRC)/jmact/animlib.h $(SRC)/animvpx.h
|
2010-08-02 08:13:51 +00:00
|
|
|
$(OBJ)/demo.$o: $(SRC)/demo.c $(duke3d_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)
|
2007-09-11 02:23:08 +00:00
|
|
|
$(OBJ)/mdump.$o: $(SRC)/mdump.cpp $(SRC)/mdump.h
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/menus.$o: $(SRC)/menus.c $(duke3d_h) $(SRC)/jmact/mouse.h
|
|
|
|
$(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
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/sector.$o: $(SRC)/sector.c $(duke3d_h)
|
|
|
|
$(OBJ)/sounds.$o: $(SRC)/sounds.c $(duke3d_h)
|
|
|
|
$(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)
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2011-07-29 22:08:02 +00:00
|
|
|
$(OBJ)/animvpx.$o: $(SRC)/animvpx.c $(SRC)/animvpx.h $(duke3d_h) $(EINC)/glbuild.h
|
|
|
|
|
2011-09-20 19:12:24 +00:00
|
|
|
$(OBJ)/lunatic/lunatic.$o: $(SRC)/lunatic/lunatic.c $(SRC)/lunatic/lunatic.h $(EINC)/cache1d.h $(EINC)/osd.h
|
|
|
|
|
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 \
|
|
|
|
$(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
|
|
|
|
2011-07-30 13:03:07 +00:00
|
|
|
$(OBJ)/m32def.$o: $(SRC)/m32def.c $(m32_script_hs) $(EINC)/cache1d.h $(SRC)/sounds_mapster32.h $(SRC)/keys.h
|
|
|
|
$(OBJ)/m32exec.$o: $(SRC)/m32exec.c $(m32_script_hs) $(SRC)/sounds_mapster32.h $(EINC)/osd.h $(SRC)/keys.h $(JAUDIOLIBDIR)/include/fx_man.h
|
|
|
|
$(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
|
|
|
|
$(OBJ)/control.$o: $(SRC)/jmact/control.c $(SRC)/jmact/control.h $(SRC)/jmact/keyboard.h $(SRC)/jmact/mouse.h $(EINC)/baselayer.h
|
|
|
|
$(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
|
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
|
|
|
|
|
|
|
# jAudioLib objects
|
|
|
|
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/mv_mix.$o: $(SRC)/jaudiolib/mv_mix.nasm
|
|
|
|
$(OBJ)/mv_mix16.$o: $(SRC)/jaudiolib/mv_mix16.nasm
|
|
|
|
$(OBJ)/mvreverb.$o: $(SRC)/jaudiolib/mvreverb.nasm
|
2007-12-12 23:07:52 +00:00
|
|
|
$(OBJ)/mv_mix-c.$o: $(SRC)/jaudiolib/mv_mix-c.c
|
|
|
|
$(OBJ)/mvreverb-c.$o: $(SRC)/jaudiolib/mvreverb-c.c
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/pitch.$o: $(SRC)/jaudiolib/pitch.c $(SRC)/jaudiolib/pitch.h
|
2008-12-10 11:36:53 +00:00
|
|
|
$(OBJ)/multivoc.$o: $(SRC)/jaudiolib/multivoc.c $(SRC)/jaudiolib/linklist.h $(SRC)/jaudiolib/pitch.h $(SRC)/jaudiolib/multivoc.h $(SRC)/jaudiolib/_multivc.h
|
2011-07-30 13:03:07 +00:00
|
|
|
$(OBJ)/fx_man.$o: $(SRC)/jaudiolib/fx_man.c $(SRC)/jaudiolib/multivoc.h $(SRC)/jaudiolib/ll_man.h $(JAUDIOLIBDIR)/include/fx_man.h
|
2006-08-31 01:54:23 +00:00
|
|
|
$(OBJ)/dsoundout.$o: $(SRC)/jaudiolib/dsoundout.c $(SRC)/jaudiolib/dsoundout.h
|
2008-03-08 05:23:15 +00:00
|
|
|
$(OBJ)/openal.$o: $(SRC)/jaudiolib/openal.c $(SRC)/jaudiolib/openal.h
|
2007-01-15 05:46:49 +00:00
|
|
|
$(OBJ)/dsl.$o: $(SRC)/jaudiolib/dsl.c $(SRC)/jaudiolib/dsl.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
|
|
|
|