Subversion Repositories eduke32

Rev

Rev 5197 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1951 helixhorne 1
duke3d_h=\
4543 hendricks2 2
    $(ENGINE_INC)/compat.h \
3
    $(ENGINE_INC)/pragmas.h \
4
    $(ENGINE_INC)/build.h \
5
    $(ENGINE_INC)/baselayer.h \
6
    $(ENGINE_INC)/polymer.h \
7
    $(ENGINE_INC)/polymost.h \
8
    $(ENGINE_INC)/texcache.h \
9
    $(ENGINE_INC)/cache1d.h \
5197 hendricks2 10
    $(MACT_ROOT)/file_lib.h \
11
    $(MACT_ROOT)/keyboard.h \
12
    $(MACT_ROOT)/mouse.h \
13
    $(MACT_ROOT)/joystick.h \
14
    $(MACT_ROOT)/control.h \
4543 hendricks2 15
    $(DUKE3D_SRC)/macros.h \
16
    $(DUKE3D_INC)/gamedefs.h \
17
    $(DUKE3D_INC)/function.h \
18
    $(DUKE3D_INC)/config.h \
19
    $(DUKE3D_INC)/sounds.h \
20
    $(DUKE3D_INC)/sounds_common.h \
21
    $(DUKE3D_INC)/soundsdyn.h \
22
    $(DUKE3D_INC)/rts.h \
23
    $(DUKE3D_INC)/_rts.h \
24
    $(DUKE3D_INC)/soundefs.h \
5197 hendricks2 25
    $(AUDIOLIB_INC)/fx_man.h \
26
    $(AUDIOLIB_INC)/music.h \
4543 hendricks2 27
    $(DUKE3D_INC)/namesdyn.h \
28
    $(DUKE3D_INC)/duke3d.h \
29
    $(DUKE3D_INC)/player.h \
30
    $(DUKE3D_INC)/sector.h \
31
    $(DUKE3D_INC)/game.h \
5197 hendricks2 32
    $(DUKE3D_INC)/actors.h \
33
    $(DUKE3D_INC)/menus.h
5 Plagman 34
 
4543 hendricks2 35
gamedef_h=$(DUKE3D_SRC)/gamedef.h $(DUKE3D_SRC)/gameexec.h $(DUKE3D_SRC)/gamevars.h
1677 terminx 36
 
4543 hendricks2 37
game_defs_dep=$(DUKE3D_SRC)/lunatic/defs.ilua
3521 helixhorne 38
 
5197 hendricks2 39
$(DUKE3D_OBJ)/game.$o: $(DUKE3D_SRC)/game.c $(game_defs_dep) $(MACT_ROOT)/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
4543 hendricks2 40
$(DUKE3D_OBJ)/actors.$o: $(DUKE3D_SRC)/actors.c $(duke3d_h)
5197 hendricks2 41
$(DUKE3D_OBJ)/anim.$o: $(DUKE3D_SRC)/anim.c $(duke3d_h) $(DUKE3D_SRC)/input.h $(MACT_ROOT)/animlib.h $(DUKE3D_SRC)/animvpx.h $(DUKE3D_SRC)/animsounds.h
4987 terminx 42
$(DUKE3D_OBJ)/animsounds.$o: $(DUKE3D_SRC)/animsounds.c $(DUKE3D_SRC)/animsounds.h
4543 hendricks2 43
$(DUKE3D_OBJ)/demo.$o: $(DUKE3D_SRC)/demo.c $(duke3d_h) $(DUKE3D_SRC)/input.h
44
$(DUKE3D_OBJ)/gamedef.$o: $(DUKE3D_SRC)/gamedef.c $(duke3d_h) $(gamedef_h) $(DUKE3D_SRC)/savegame.h
45
$(DUKE3D_OBJ)/gameexec.$o: $(DUKE3D_SRC)/gameexec.c $(DUKE3D_SRC)/gamestructures.c $(duke3d_h) $(gamedef_h)
46
$(DUKE3D_OBJ)/gamestructures.$o: $(DUKE3D_SRC)/gamestructures.c $(duke3d_h) $(gamedef_h)
47
$(DUKE3D_OBJ)/gamevars.$o: $(DUKE3D_SRC)/gamevars.c $(DUKE3D_SRC)/gamestructures.c $(duke3d_h) $(gamedef_h) $(DUKE3D_SRC)/savegame.h
48
$(DUKE3D_OBJ)/global.$o: $(DUKE3D_SRC)/*.c $(DUKE3D_SRC)/global.c $(duke3d_h)
49
$(DUKE3D_OBJ)/input.$o: $(DUKE3D_SRC)/input.c $(duke3d_h) $(DUKE3D_SRC)/input.h
50
$(DUKE3D_OBJ)/mdump.$o: $(DUKE3D_SRC)/mdump.cpp $(DUKE3D_SRC)/mdump.h
5197 hendricks2 51
$(DUKE3D_OBJ)/menus.$o: $(DUKE3D_SRC)/menus.c $(duke3d_h) $(DUKE3D_SRC)/input.h $(MACT_ROOT)/mouse.h $(DUKE3D_SRC)/menus.h
4543 hendricks2 52
$(DUKE3D_OBJ)/namesdyn.$o: $(DUKE3D_SRC)/namesdyn.c $(duke3d_h)
53
$(DUKE3D_OBJ)/net.$o: $(DUKE3D_SRC)/net.c $(duke3d_h)
54
$(DUKE3D_OBJ)/player.$o: $(DUKE3D_SRC)/player.c $(duke3d_h)
55
$(DUKE3D_OBJ)/premap.$o: $(DUKE3D_SRC)/premap.c $(duke3d_h) $(ENGINE_INC)/osd.h
56
$(DUKE3D_OBJ)/savegame.$o: $(DUKE3D_SRC)/savegame.c $(duke3d_h) $(DUKE3D_SRC)/savegame.h
57
$(DUKE3D_OBJ)/sector.$o: $(DUKE3D_SRC)/sector.c $(duke3d_h) $(DUKE3D_SRC)/input.h
58
$(DUKE3D_OBJ)/sounds.$o: $(DUKE3D_SRC)/sounds.c $(duke3d_h)
59
$(DUKE3D_OBJ)/soundsdyn.$o: $(DUKE3D_SRC)/soundsdyn.c $(duke3d_h)
60
$(DUKE3D_OBJ)/rts.$o: $(DUKE3D_SRC)/rts.c $(duke3d_h)
5197 hendricks2 61
$(DUKE3D_OBJ)/config.$o: $(DUKE3D_SRC)/config.c $(duke3d_h) $(MACT_ROOT)/scriplib.h $(DUKE3D_INC)/_functio.h
4543 hendricks2 62
$(DUKE3D_OBJ)/winbits.$o: $(DUKE3D_SRC)/winbits.c
63
$(DUKE3D_OBJ)/osdfuncs.$o: $(DUKE3D_SRC)/names.h $(ENGINE_INC)/build.h $(ENGINE_INC)/osd.h
64
$(DUKE3D_OBJ)/osdcmds.$o: $(DUKE3D_SRC)/osdcmds.c $(DUKE3D_INC)/osdcmds.h $(ENGINE_INC)/osd.h $(duke3d_h)
65
$(DUKE3D_OBJ)/animvpx.$o: $(DUKE3D_SRC)/animvpx.c $(DUKE3D_SRC)/animvpx.h $(duke3d_h) $(ENGINE_INC)/glbuild.h
2034 helixhorne 66
 
4543 hendricks2 67
$(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
68
$(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
3057 helixhorne 69
 
1952 helixhorne 70
# editor objects
4543 hendricks2 71
m32_script_hs=$(ENGINE_INC)/m32script.h $(DUKE3D_SRC)/m32def.h
72
$(DUKE3D_OBJ)/astub.$o: $(DUKE3D_SRC)/astub.c \
73
    $(ENGINE_INC)/compat.h \
74
    $(ENGINE_INC)/build.h \
75
    $(ENGINE_INC)/editor.h \
76
    $(ENGINE_INC)/pragmas.h \
77
    $(ENGINE_INC)/baselayer.h \
78
    $(ENGINE_INC)/osd.h \
79
    $(ENGINE_INC)/cache1d.h \
80
    $(ENGINE_INC)/crc32.h \
81
    $(ENGINE_INC)/scriptfile.h \
82
    $(ENGINE_INC)/lz4.h \
83
    $(DUKE3D_SRC)/macros.h \
84
    $(DUKE3D_SRC)/osdfuncs.h \
85
    $(DUKE3D_SRC)/names.h \
86
    $(DUKE3D_SRC)/mapster32.h \
87
    $(DUKE3D_SRC)/keys.h \
4495 hendricks2 88
    $(m32_script_hs)
4543 hendricks2 89
$(DUKE3D_OBJ)/sounds_mapster32.$o: $(DUKE3D_SRC)/sounds_mapster32.c \
90
    $(DUKE3D_SRC)/sounds_mapster32.h \
91
    $(DUKE3D_SRC)/sounds_common.h \
92
    $(ENGINE_INC)/compat.h \
93
    $(ENGINE_INC)/baselayer.h \
94
    $(ENGINE_INC)/cache1d.h \
95
    $(ENGINE_INC)/build.h \
96
    $(ENGINE_INC)/editor.h \
97
    $(ENGINE_INC)/osd.h \
98
    $(DUKE3D_SRC)/macros.h \
5197 hendricks2 99
    $(AUDIOLIB_INC)/fx_man.h \
1951 helixhorne 100
 
4543 hendricks2 101
$(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
5197 hendricks2 102
$(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_INC)/fx_man.h
4543 hendricks2 103
$(DUKE3D_OBJ)/m32structures.$o: $(DUKE3D_SRC)/m32structures.c $(m32_script_hs) $(ENGINE_INC)/compat.h $(ENGINE_INC)/prlights.h
104
$(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
4569 helixhorne 105
# TODO: m32common.c
5 Plagman 106
 
1952 helixhorne 107
# misc objects
5253 hendricks2 108
$(DUKE3D_OBJ)/game_icon.$o: $(DUKE3D_RSRC)/game_icon.c
109
$(DUKE3D_OBJ)/build_icon.$o: $(DUKE3D_RSRC)/build_icon.c
5 Plagman 110
 
4543 hendricks2 111
$(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
112
$(DUKE3D_OBJ)/gameres.$o: $(DUKE3D_SRC)/misc/gameres.rc $(DUKE3D_SRC)/startwin.game.h $(DUKE3D_RSRC)/game.bmp $(DUKE3D_RSRC)/game_icon.ico
5253 hendricks2 113
$(DUKE3D_OBJ)/buildres.$o: $(DUKE3D_SRC)/misc/buildres.rc $(ENGINE_INC)/startwin.editor.h $(DUKE3D_RSRC)/build.bmp $(DUKE3D_RSRC)/build_icon.ico
4543 hendricks2 114
$(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
115
$(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
5 Plagman 116
 
214 terminx 117
 
5197 hendricks2 118
# MACT objects
119
$(DUKE3D_OBJ)/animlib.$o: $(MACT_ROOT)/animlib.c $(MACT_ROOT)/animlib.h $(ENGINE_INC)/compat.h
120
$(DUKE3D_OBJ)/file_lib.$o: $(MACT_ROOT)/file_lib.c $(MACT_ROOT)/file_lib.h
121
$(DUKE3D_OBJ)/control.$o: $(MACT_ROOT)/control.c $(MACT_ROOT)/control.h $(MACT_ROOT)/keyboard.h $(MACT_ROOT)/mouse.h $(MACT_ROOT)/joystick.h $(ENGINE_INC)/baselayer.h
122
$(DUKE3D_OBJ)/keyboard.$o: $(MACT_ROOT)/keyboard.c $(MACT_ROOT)/keyboard.h $(ENGINE_INC)/compat.h $(ENGINE_INC)/baselayer.h
123
$(DUKE3D_OBJ)/mouse.$o: $(MACT_ROOT)/mouse.c $(MACT_ROOT)/mouse.h $(ENGINE_INC)/baselayer.h
124
$(DUKE3D_OBJ)/joystick.$o: $(MACT_ROOT)/joystick.c $(MACT_ROOT)/joystick.h $(ENGINE_INC)/baselayer.h
125
$(DUKE3D_OBJ)/scriplib.$o: $(MACT_ROOT)/scriplib.c $(MACT_ROOT)/scriplib.h $(MACT_ROOT)/_scrplib.h $(ENGINE_INC)/compat.h
5 Plagman 126
 
5197 hendricks2 127
$(DUKE3D_OBJ)/midi.$o: $(DUKE3D_SRC)/midi.c $(DUKE3D_SRC)/_midi.h $(DUKE3D_SRC)/midi.h $(AUDIOLIB_INC)/music.h
128
$(DUKE3D_OBJ)/mpu401.$o: $(DUKE3D_SRC)/mpu401.c $(DUKE3D_SRC)/mpu401.h $(AUDIOLIB_INC)/music.h
129
$(DUKE3D_OBJ)/music.$o: $(DUKE3D_SRC)/music.c $(DUKE3D_SRC)/midi.h $(DUKE3D_SRC)/mpu401.h $(AUDIOLIB_INC)/music.h
5 Plagman 130
 
4543 hendricks2 131
$(DUKE3D_OBJ)/ivfrate.$o: $(DUKE3D_SRC)/util/ivfrate.c $(DUKE3D_SRC)/animvpx.h