fix for corrupted graphics when manipulating config files
[open-ps2-loader.git] / labs / genvmclab / Makefile
blob6f868efb0cb8560a783f3fb707d0ee5a367960a8
2 EE_BIN = genvmclab.elf
3 EE_OBJS = genvmclab.o poweroff.o ps2dev9.o smsutils.o smstcpip.o smsmap.o udptty.o ioptrap.o ps2link.o iomanx.o filexio.o usbd.o usbhdfsd.o mcman.o genvmc.o
5 EE_LIBS = -lfileXio -lpatches -ldebug -lc -lkernel
6 EE_CFLAGS = -g
7 EE_LDFLAGS = -s
9 all:
10 $(MAKE) $(EE_BIN)
12 clean:
13 $(MAKE) -C ../../modules/dev9 clean
14 $(MAKE) -C ../../modules/network/SMSUTILS clean
15 $(MAKE) -C ../../modules/network/SMSTCPIP clean
16 $(MAKE) -C ../../modules/network/SMSMAP clean
17 $(MAKE) -C ../../modules/debug/udptty clean
18 $(MAKE) -C ../../modules/debug/ioptrap clean
19 $(MAKE) -C ../../modules/debug/ps2link clean
20 $(MAKE) -C ../../modules/usb/usbhdfsd clean
21 $(MAKE) -C ../../modules/vmc/genvmc clean
22 $(MAKE) -C ../../modules/vmc/mcman clean
23 rm -f *.elf *.o *.a *.s
25 rebuild: clean all
27 poweroff.s:
28 bin2s $(PS2SDK)/iop/irx/poweroff.irx poweroff.s poweroff_irx
30 ps2dev9.s:
31 $(MAKE) -C ../../modules/dev9
32 bin2s ../../modules/dev9/ps2dev9.irx ps2dev9.s ps2dev9_irx
34 smsutils.s:
35 $(MAKE) -C ../../modules/network/SMSUTILS
36 bin2s ../../modules/network/SMSUTILS/SMSUTILS.irx smsutils.s smsutils_irx
38 smstcpip.s:
39 $(MAKE) -C ../../modules/network/SMSTCPIP
40 bin2s ../../modules/network/SMSTCPIP/SMSTCPIP.irx smstcpip.s smstcpip_irx
42 smsmap.s:
43 $(MAKE) -C ../../modules/network/SMSMAP
44 bin2s ../../modules/network/SMSMAP/SMSMAP.irx smsmap.s smsmap_irx
46 iomanx.s:
47 bin2s $(PS2SDK)/iop/irx/iomanX.irx iomanx.s iomanx_irx
49 filexio.s:
50 bin2s $(PS2SDK)/iop/irx/fileXio.irx filexio.s filexio_irx
52 usbd.s:
53 bin2s $(PS2SDK)/iop/irx/usbd.irx usbd.s usbd_irx
55 usbhdfsd.s:
56 $(MAKE) -C ../../modules/usb/usbhdfsd
57 bin2s ../../modules/usb/usbhdfsd/usbhdfsd.irx usbhdfsd.s usbhdfsd_irx
59 udptty.s:
60 $(MAKE) -C ../../modules/debug/udptty
61 bin2s ../../modules/debug/udptty/udptty.irx udptty.s udptty_irx
63 ioptrap.s:
64 $(MAKE) -C ../../modules/debug/ioptrap
65 bin2s ../../modules/debug/ioptrap/ioptrap.irx ioptrap.s ioptrap_irx
67 ps2link.s:
68 $(MAKE) -C ../../modules/debug/ps2link
69 bin2s ../../modules/debug/ps2link/ps2link.irx ps2link.s ps2link_irx
71 mcman.s:
72 $(MAKE) -C ../../modules/vmc/mcman
73 bin2s ../../modules/vmc/mcman/mcman.irx mcman.s mcman_irx
75 genvmc.s:
76 $(MAKE) -C ../../modules/vmc/genvmc
77 bin2s ../../modules/vmc/genvmc/genvmc.irx genvmc.s genvmc_irx
79 include $(PS2SDK)/samples/Makefile.pref
80 include $(PS2SDK)/samples/Makefile.eeglobal