Add Switch target

This commit is contained in:
twinaphex 2018-01-04 22:59:59 +01:00
parent 17c4b822b3
commit 4137818838

View File

@ -227,6 +227,13 @@ else ifneq (,$(filter $(platform), ngc wii wiiu))
PLATFORM_DEFINES += -DHW_DOL -mrvl
endif
# Nintendo Switch (libtransistor)
else ifeq ($(platform), switch)
EXT=a
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
include $(LIBTRANSISTOR_HOME)/libtransistor.mk
STATIC_LINKING=1
# emscripten
else ifeq ($(platform), emscripten)
TARGET := $(TARGET_NAME)_libretro_$(platform).bc