-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (38 loc) · 1.55 KB
/
Copy pathMakefile
File metadata and controls
52 lines (38 loc) · 1.55 KB
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
# _____ ___ ____ ___ ____
# ____| | ____| | | |____|
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.
EE_BIN = ps2netcon_uncompressed.elf
EE_BIN_COMPRESSED = ps2netcon.elf
EE_OBJS = main.o DEV9_irx.o NETMAN_irx.o SMAP_irx.o SIO2MAN_irx.o MCMAN_irx.o MCSERV_irx.o FILEIO_irx.o
EE_LIBS = -lc -lnetman -lps2ip -ldebug -lpatches -lelf-loader2
EE_CFLAGS = -Os
EE_LDFLAGS = -s
all: DEV9_irx.c NETMAN_irx.c SMAP_irx.c $(EE_BIN) $(EE_BIN_COMPRESSED)
DEV9_irx.c: $(PS2SDK)/iop/irx/ps2dev9.irx
bin2c $< DEV9_irx.c DEV9_irx
NETMAN_irx.c: $(PS2SDK)/iop/irx/netman.irx
bin2c $< NETMAN_irx.c NETMAN_irx
SMAP_irx.c: $(PS2SDK)/iop/irx/smap.irx
bin2c $< SMAP_irx.c SMAP_irx
SIO2MAN_irx.c: $(PS2SDK)/iop/irx/sio2man.irx
bin2c $< SIO2MAN_irx.c SIO2MAN_irx
MCMAN_irx.c: $(PS2SDK)/iop/irx/mcman.irx
bin2c $< MCMAN_irx.c MCMAN_irx
MCSERV_irx.c: $(PS2SDK)/iop/irx/mcserv.irx
bin2c $< MCSERV_irx.c MCSERV_irx
FILEIO_irx.c: $(PS2SDK)/iop/irx/fileXio.irx
bin2c $< FILEIO_irx.c FILEIO_irx
ps2netcon.elf: $(EE_BIN)
ps2-packer-lite $(EE_BIN) $(EE_BIN_COMPRESSED)
clean:
rm -f $(EE_BIN) $(EE_BIN_COMPRESSED) $(EE_OBJS) *_irx.c *_elf.c
run: $(EE_BIN_COMPRESSED)
ps2client execee host:$(EE_BIN_COMPRESSED)
reset:
ps2client reset
include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobal