mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / labs / lanlab / Makefile
blob85e6eea33612d5f72c3c18fc9811b21fabd7249f
2 EE_BIN = lanlab.elf
3 EE_OBJS = lanlab.o poweroff.o ps2dev9.o smsutils.o lanman.o iomanx.o filexio.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/wip/lanman clean
16 rm -f *.elf *.o *.a *.s
18 rebuild: clean all
20 poweroff.s:
21 bin2s $(PS2SDK)/iop/irx/poweroff.irx poweroff.s poweroff_irx
23 ps2dev9.s:
24 $(MAKE) -C ../../modules/dev9
25 bin2s ../../modules/dev9/ps2dev9.irx ps2dev9.s ps2dev9_irx
27 smsutils.s:
28 $(MAKE) -C ../../modules/network/SMSUTILS
29 bin2s ../../modules/network/SMSUTILS/SMSUTILS.irx smsutils.s smsutils_irx
31 lanman.s:
32 $(MAKE) -C ../../modules/wip/lanman
33 bin2s ../../modules/wip/lanman/lanman.irx lanman.s lanman_irx
35 iomanx.s:
36 bin2s $(PS2SDK)/iop/irx/iomanX.irx iomanx.s iomanx_irx
38 filexio.s:
39 bin2s $(PS2SDK)/iop/irx/fileXio.irx filexio.s filexio_irx
41 include $(PS2SDK)/samples/Makefile.pref
42 include $(PS2SDK)/samples/Makefile.eeglobal