2009-02-09 21:15:56 +00:00
|
|
|
# _____ ___ ____
|
|
|
|
# ____| | ____| PSX2 OpenSource Project
|
|
|
|
# | ___| |____ (C)2002, David Ryan ( Oobles@hotmail.com )
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
|
2017-02-05 16:39:31 +00:00
|
|
|
LOADER_BIN = ../build/LOADER
|
2009-02-09 21:15:56 +00:00
|
|
|
|
2017-02-05 16:39:31 +00:00
|
|
|
EE_INCS += -Iinclude
|
2009-02-09 21:15:56 +00:00
|
|
|
|
2017-02-05 16:39:31 +00:00
|
|
|
EE_LIBS += -lkernel -lmc -lkernel -lpad -lc -lkernel
|
2009-02-09 21:15:56 +00:00
|
|
|
|
2017-02-05 16:39:31 +00:00
|
|
|
EE_OBJS = loader.o menu.o eedebug.o crt0.o romdir.o
|
2009-02-09 21:15:56 +00:00
|
|
|
|
2017-02-05 16:39:31 +00:00
|
|
|
$(LOADER_BIN): $(EE_OBJS)
|
|
|
|
$(EE_CC) -nostartfiles -Tlinkfile $(EE_CFLAGS) \
|
|
|
|
-o $(LOADER_BIN) $(EE_OBJS) $(EE_LDFLAGS) $(EE_LIBS)
|
2009-02-09 21:15:56 +00:00
|
|
|
|
|
|
|
clean:
|
2017-02-05 16:39:31 +00:00
|
|
|
rm -f -r $(EE_OBJS) $(LOADER_BIN)
|
2009-02-09 21:15:56 +00:00
|
|
|
|
2017-02-05 16:39:31 +00:00
|
|
|
include $(PS2SDK)/Defs.make
|
|
|
|
include $(PS2SDK)/samples/Makefile.pref
|
|
|
|
include $(PS2SDK)/samples/Makefile.eeglobal
|