summaryrefslogtreecommitdiff
path: root/psp/Makefile
diff options
context:
space:
mode:
authornotaz2009-05-21 18:48:31 +0300
committernotaz2009-05-21 18:48:31 +0300
commit2823a4c8196a02da86ee180cf55586d4e8c91a2f (patch)
tree7e9b3f35b55af9917b3a05dd32de14be9a8c3f3c /psp/Makefile
downloadpicogpsp-2823a4c8196a02da86ee180cf55586d4e8c91a2f.tar.gz
picogpsp-2823a4c8196a02da86ee180cf55586d4e8c91a2f.tar.bz2
picogpsp-2823a4c8196a02da86ee180cf55586d4e8c91a2f.zip
original source from gpsp09-2xb_src.tar.bz2
Diffstat (limited to 'psp/Makefile')
-rw-r--r--psp/Makefile26
1 files changed, 26 insertions, 0 deletions
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
+