2 EE_OBJS
= elfldr.o crt0.o
3 EE_CFLAGS
= -DIOP_RESET
#-DDEBUG
5 EE_INCS
:= -I
$(PS2SDK
)/ee
/include -I
$(PS2SDK
)/common
/include -I.
6 EE_CFLAGS
:= -D_EE
-O2
-G0
-Wall
$(EE_INCS
)
8 EE_LDFLAGS
= -nostartfiles
-Tlinkfile
-L
$(PS2SDK
)/ee
/lib
-s
12 $(EE_CC
) $(EE_CFLAGS
) $(EE_INCS
) -c
$< -o
$@
15 $(EE_AS
) $(EE_ASFLAGS
) $< -o
$@
17 $(EE_BIN
) : $(EE_OBJS
)
18 $(EE_CC
) $(EE_CFLAGS
) $(EE_LDFLAGS
) -o
$(EE_BIN
) $(EE_OBJS
) $(EE_LIBS
) -Xlinker
-Map
-Xlinker elfldr.map
24 rm -f
*.o
*.a
*.map
*.elf
27 rm -f
*.o
*.a
*.map
*.elf
29 include $(PS2SDK
)/samples
/Makefile.pref