aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2015-08-31 23:25:45 +0200
committertwinaphex2015-08-31 23:25:45 +0200
commitd86b88be54fdcf628d6d22614a6358de99c24ead (patch)
treececaf0ce0a5acb1c6a9eb7dbb5ca8d7b9d2d52cb /Makefile
parent77219244d06473ab0146227ad8804c0d61b1dfed (diff)
downloadsnesemu-d86b88be54fdcf628d6d22614a6358de99c24ead.tar.gz
snesemu-d86b88be54fdcf628d6d22614a6358de99c24ead.tar.bz2
snesemu-d86b88be54fdcf628d6d22614a6358de99c24ead.zip
(Vita) Add target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1f69268..79d7098 100644
--- a/Makefile
+++ b/Makefile
@@ -123,6 +123,8 @@ else ifeq ($(platform), sncps3)
STATIC_LINKING = 1
FLAGS += -DMSB_FIRST
NO_GCC = 1
+
+# PSP1
else ifeq ($(platform), psp1)
TARGET := $(TARGET_NAME)_libretro_psp1.a
CC = psp-gcc$(EXE_EXT)
@@ -138,6 +140,18 @@ else ifeq ($(platform), psp1)
DEFS += -DPSP -D_PSP_FW_VERSION=371
INCLUDE += -I$(shell psp-config --pspsdk-path)/include
STATIC_LINKING := 1
+
+# Vita
+else ifeq ($(platform), vita)
+ TARGET := $(TARGET_NAME)_libretro_vita.a
+ CC = arm-vita-eabi-gcc$(EXE_EXT)
+ CXX = arm-vita-eabi-g++$(EXE_EXT)
+ AR = arm-vita-eabi-ar$(EXE_EXT)
+ STATIC_LINKING = 1
+ LOAD_FROM_MEMORY_TEST = 0
+ DEFS += -DVITA
+ STATIC_LINKING := 1
+
else
TARGET := $(TARGET_NAME)_libretro.dll
CC = gcc