diff options
author | twinaphex | 2015-08-31 23:25:45 +0200 |
---|---|---|
committer | twinaphex | 2015-08-31 23:25:45 +0200 |
commit | d86b88be54fdcf628d6d22614a6358de99c24ead (patch) | |
tree | cecaf0ce0a5acb1c6a9eb7dbb5ca8d7b9d2d52cb /Makefile | |
parent | 77219244d06473ab0146227ad8804c0d61b1dfed (diff) | |
download | snesemu-d86b88be54fdcf628d6d22614a6358de99c24ead.tar.gz snesemu-d86b88be54fdcf628d6d22614a6358de99c24ead.tar.bz2 snesemu-d86b88be54fdcf628d6d22614a6358de99c24ead.zip |
(Vita) Add target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |