From 2823a4c8196a02da86ee180cf55586d4e8c91a2f Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 21 May 2009 18:48:31 +0300 Subject: original source from gpsp09-2xb_src.tar.bz2 --- psp/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 psp/Makefile (limited to 'psp/Makefile') diff --git a/psp/Makefile b/psp/Makefile new file mode 100644 index 0000000..9906e6f --- /dev/null +++ b/psp/Makefile @@ -0,0 +1,26 @@ +# -x assembler-with-cpp +# gpSP makefile +# Gilead Kutnick - Exophase + +# Global definitions + +PSPSDK = ${shell psp-config --pspsdk-path} +PREFIX = ${shell psp-config --psp-prefix} + +OBJS = main.o cpu.o video.o memory.o sound.o input.o \ + cpu_threaded.o gui.o zip.o cheats.o mips_stub.o + +TARGET = gpSP + +VPATH += .. +CFLAGS += -O3 -DPSP_BUILD -G0 -funsigned-char +CFLAGS += ${shell ${PREFIX}/bin/sdl-config --cflags} +ASFLAGS = ${CFLAGS} +PSP_EBOOT_TITLE = gpSP +EXTRA_TARGETS = EBOOT.PBP + +LIBS += ${shell ${PREFIX}/bin/sdl-config --libs} -lpsppower \ + -lz + +include ${PSPSDK}/lib/build.mak + -- cgit v1.2.3