forked from rickgaiser/neutrino
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
73 lines (64 loc) · 2.49 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
67
68
69
70
71
72
73
EESIO_DEBUG?=0
IOPCORE_DEBUG?=0
all:
$(MAKE) -C iop/atad_emu all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/bdfs all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/cdvdfsv all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/cdvdman_emu all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/cdvdman_esr1 all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/cdvdman_esr2 all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/dev9 all DEBUG=$(IOPCORE_DEBUG) DEV9_HIDDEN=1
$(MAKE) -C iop/dev9 all DEBUG=$(IOPCORE_DEBUG) DEV9_NO_SHUTDOWN=1
$(MAKE) -C iop/fakemod all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/fhi_bd all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/fhi_bd_defrag all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/fhi_file all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/hdlfs all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/imgdrv all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/isofs all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/mc_emu all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/patch_rc_uya all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/smap_udpbd all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C iop/usbd_null all DEBUG=$(IOPCORE_DEBUG)
$(MAKE) -C ee/ee_core all EESIO_DEBUG=$(EESIO_DEBUG)
$(MAKE) -C ee/loader all DEBUG=0
copy:
$(MAKE) -C ee/loader copy
format:
find . -type f -a \( -iname \*.h -o -iname \*.c \) | xargs clang-format -i
clean:
$(MAKE) -C iop/atad_emu clean
$(MAKE) -C iop/bdfs clean
$(MAKE) -C iop/cdvdfsv clean
$(MAKE) -C iop/cdvdman_emu clean
$(MAKE) -C iop/cdvdman_esr1 clean
$(MAKE) -C iop/cdvdman_esr2 clean
$(MAKE) -C iop/dev9 clean DEV9_HIDDEN=1
$(MAKE) -C iop/dev9 clean DEV9_NO_SHUTDOWN=1
$(MAKE) -C iop/fakemod clean
$(MAKE) -C iop/fhi_bd clean
$(MAKE) -C iop/fhi_bd_defrag clean
$(MAKE) -C iop/fhi_file clean
$(MAKE) -C iop/hdlfs clean
$(MAKE) -C iop/imgdrv clean
$(MAKE) -C iop/isofs clean
$(MAKE) -C iop/mc_emu clean
$(MAKE) -C iop/patch_rc_uya clean
$(MAKE) -C iop/smap_udpbd clean
$(MAKE) -C iop/usbd_null clean
$(MAKE) -C ee/ee_core clean
$(MAKE) -C ee/loader clean
# Start on PS2 (ps2link/ps2client)
run:
$(MAKE) -C ee/loader run
# Start on PCSX2
sim:
$(MAKE) -C ee/loader sim
# Mount first partition of block device used in PCSX2 testing (ATA or USB)
sim_mount:
sudo mount -o loop,offset=1048576 ee/loader/blockdev.raw mount
# Unmount block device used in PCSX2 testing
sim_unmount:
sudo umount mount
opl:
ps2client -h 192.168.1.10 execee host:OPNPS2LD.ELF