forked from lukaszdk/ps2doom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
67 lines (46 loc) · 1.96 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
EE_OBJS = am_map.o d_items.o d_main.o d_net.o doomdef.o doomstat.o \
dstrings.o f_finale.o f_wipe.o g_game.o hu_lib.o hu_stuff.o i_main.o \
i_net.o l_sound_sdl.o mmus2mid.o i_system.o i_video.o info.o m_argv.o m_bbox.o \
m_cheat.o m_fixed.o m_menu.o m_misc.o m_random.o m_swap.o p_ceilng.o \
p_doors.o p_enemy.o p_floor.o p_inter.o p_lights.o p_map.o p_maputl.o \
p_mobj.o p_plats.o p_pspr.o p_saveg.o p_setup.o p_sight.o p_spec.o \
p_switch.o p_telept.o p_tick.o p_user.o r_bsp.o r_data.o r_draw.o \
r_main.o r_plane.o r_segs.o r_sky.o r_things.o s_sound.o sounds.o \
st_lib.o st_stuff.o tables.o v_video.o w_wad.o wi_stuff.o z_zone.o ps2doom.o mixer_thread.o mixer.o cosmitoFileIO.o sjpcm_rpc.o usbd.s usbhdfsd.s SJPCM.s freesd.s \
iomanX.o fileXio.o ps2dev9.o ps2atad.o ps2fs.o ps2hdd.o poweroff.o
EE_BIN = ps2doom.elf
EE_INCS = -I$(PS2SDK)/ports/include/SDL -I$(PS2SDK)/ports/include
EE_LDFLAGS = -L$(PS2SDK)/ports/lib -L$(PS2DEV)/gsKit/lib
EE_LIBS = -lsdlmain -lsdlmixer -lsdl -lgskit -lcdvd -lmf -lps2ip -ldebug -lconfig -lmc -lc -lhdd -lfileXio -lpoweroff
EE_CFLAGS = -DUSE_RWOPS -DHAVE_CONFIG_H -DHAVE_MIXER #-g
all: $(EE_BIN)
clean:
rm -f $(EE_OBJS) $(EE_BIN)
run:
ps2client execee host:$(EE_BIN)
reset:
ps2client reset
usbd.s : usbd.irx
bin2s usbd.irx usbd.s usbd
usbhdfsd.s : usbhdfsd.irx
bin2s usbhdfsd.irx usbhdfsd.s usbhdfsd
SJPCM.s : SJPCM.IRX
bin2s SJPCM.IRX SJPCM.s SJPCM
freesd.s : freesd-1.01.irx
bin2s freesd-1.01.irx freesd.s freesd
iomanX.s : iomanX.irx
bin2s iomanX.irx iomanX.s iomanX
fileXio.s : fileXio.irx
bin2s fileXio.irx fileXio.s fileXio
ps2dev9.s : ps2dev9.irx
bin2s ps2dev9.irx ps2dev9.s ps2dev9
ps2atad.s : ps2atad.irx
bin2s ps2atad.irx ps2atad.s ps2atad
ps2hdd.s : ps2hdd.irx
bin2s ps2hdd.irx ps2hdd.s ps2hdd
ps2fs.s : ps2fs.irx
bin2s ps2fs.irx ps2fs.s ps2fs
poweroff.s : poweroff.irx
bin2s poweroff.irx poweroff.s poweroff
include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobal