summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 85e2a82..174f323 100644
--- a/Makefile
+++ b/Makefile
@@ -79,6 +79,20 @@ else ifeq ($(platform), wii)
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar
CFLAGS += -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__
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)
+ ARM_ASM = 1
+ ASM_CPU = 0
+ ASM_SPC700 = 0
+ CFLAGS += -march=armv7 -mfloat-abi=hard
+ CFLAGS += -Wall -mword-relocations
+ CFLAGS += -fomit-frame-pointer -ffast-math
+ DEFS += -DVITA
+ STATIC_LINKING := 1
# CTR (3DS)
else ifeq ($(platform), ctr)
TARGET := $(TARGET_NAME)_libretro_ctr.a