Subversion Repositories eduke32

Rev

Rev 2666 | Rev 3057 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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