1 # Copyright 2010, jimmikaelkael <jimmikaelkael@wanadoo.fr>
2 # Licenced under Academic Free License version 3.0
3 # Review Open-PS2-Loader README & LICENSE files for further details.
8 EE_CFLAGS
= -D_EE
-O2
-G0
-Wall
9 EE_LDFLAGS
= -nostartfiles
-Tlinkfile
-s
12 $(EE_CC
) $(EE_CFLAGS
) -c
$< -o
$@
14 $(EE_BIN
) : $(EE_OBJS
)
15 $(EE_CC
) $(EE_CFLAGS
) $(EE_LDFLAGS
) -o
$(EE_BIN
) $(EE_OBJS
) -Xlinker
-Map
-Xlinker kpatch.map
20 rm -f
*.o
*.a
*.map
*.bak
*.elf
23 rm -f
*.o
*.a
*.map
*.bak
*.elf
25 include $(PS2SDK
)/samples
/Makefile.pref