summary refs log tree commit diff
path: root/misc/psp
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2024-06-16 10:35:45 +0300
committerWlodekM <[email protected]>2024-06-16 10:35:45 +0300
commitabef6da56913f1c55528103e60a50451a39628b1 (patch)
treeb3c8092471ecbb73e568cd0d336efa0e7871ee8d /misc/psp
initial commit
Diffstat (limited to 'misc/psp')
-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