Subversion Repositories eduke32

Rev

Rev 3193 | Rev 3613 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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