Add Switch target

This commit is contained in:
twinaphex
2018-01-04 22:56:17 +01:00
parent 6ecbe4863e
commit 166573c553

View File

@@ -256,6 +256,15 @@ else ifeq ($(platform), wiiu)
STATIC_LINKING=1
EXTERNAL_ZLIB=1
# Nintendo Switch (libtransistor)
else ifeq ($(platform), switch)
EXT=a
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
include $(LIBTRANSISTOR_HOME)/libtransistor.mk
STATIC_LINKING=1
EXTERNAL_ZLIB=1
# ARM
else ifneq (,$(findstring armv,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so