summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2015-08-31 21:50:44 +0200
committertwinaphex2015-08-31 21:50:44 +0200
commita99c3552a41645942cd5480c6cc4416c2a25392e (patch)
tree8b8424f2cd709b4ddfb18a1aa1e1c50b6387edde /Makefile
parent317f395b49e258a70174fc043f44c63b06324427 (diff)
downloadpicogpsp-a99c3552a41645942cd5480c6cc4416c2a25392e.tar.gz
picogpsp-a99c3552a41645942cd5480c6cc4416c2a25392e.tar.bz2
picogpsp-a99c3552a41645942cd5480c6cc4416c2a25392e.zip
(Vita) Add Vita target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ae0b682..1180d28 100644
--- a/Makefile
+++ b/Makefile
@@ -188,6 +188,16 @@ else ifeq ($(platform), psp1)
CFLAGS += -DPSP -G0
STATIC_LINKING = 1
+# Vita
+else ifeq ($(platform), vita)
+ TARGET := $(TARGET_NAME)_libretro_vita.a
+ CC = arm-vita-eabi-gcc$(EXE_EXT)
+ AR = arm-vita-eabi-ar$(EXE_EXT)
+ CFLAGS += -DVITA
+ STATIC_LINKING = 1
+ HAVE_DYNAREC := 1
+ CFLAGS += -DARM -DARM_ARCH -DARM_MEMORY_DYNAREC
+
# CTR(3DS)
else ifeq ($(platform), ctr)
TARGET := $(TARGET_NAME)_libretro_ctr.a