summary refs log tree commit diff
path: root/misc/psp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/psp/Makefile')
-rw-r--r--misc/psp/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/psp/Makefile b/misc/psp/Makefile
new file mode 100644
index 0000000..45dde84
--- /dev/null
+++ b/misc/psp/Makefile
@@ -0,0 +1,19 @@
+TARGET 	= ClassiCube-psp
+SOURCES	= $(wildcard src/*.c) $(wildcard third_party/bearssl/src/*.c)
+OBJS   	= $(patsubst %.c, %.o, $(SOURCES))
+
+INCDIR   = third_party/bearssl/inc
+CFLAGS   = -g -O1 -fno-math-errno
+ASFLAGS  = $(CFLAGS)
+
+LIBDIR  =
+LDFLAGS =
+LIBS    = -lm -lpspgum -lpspgu -lpspge -lpspdisplay -lpspctrl
+
+BUILD_PRX = 1
+
+EXTRA_TARGETS   = EBOOT.PBP
+PSP_EBOOT_TITLE = ClassiCube
+
+PSPSDK=$(shell psp-config --pspsdk-path)
+include $(PSPSDK)/lib/build.mak