diff options
author | NunaticAlumina | 2016-08-05 12:31:04 +0900 |
---|---|---|
committer | NunaticAlumina | 2016-08-05 12:31:04 +0900 |
commit | 9e06cf9a58321ebc5b26d2f9595a73dfb6e271b0 (patch) | |
tree | 4139da0bbb5bbbc84e148a1c9cc4c057f4947776 | |
parent | c87b24f54d0e6ac3478902ebd71bbacd122d3712 (diff) | |
download | snes9x2002-9e06cf9a58321ebc5b26d2f9595a73dfb6e271b0.tar.gz snes9x2002-9e06cf9a58321ebc5b26d2f9595a73dfb6e271b0.tar.bz2 snes9x2002-9e06cf9a58321ebc5b26d2f9595a73dfb6e271b0.zip |
Added vita as target.
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |