Add Switch target

This commit is contained in:
twinaphex
2018-01-10 03:14:18 +01:00
parent a00ccac058
commit 638aad3ad5
3 changed files with 132 additions and 0 deletions

View File

@@ -189,6 +189,13 @@ else ifeq ($(platform), psl1ght)
AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
CFLAGS += -DMSB_FIRST -D__ppc__
STATIC_LINKING = 1
# Nintendo Switch (libtransistor)
else ifeq ($(platform), switch)
EXT=a
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
include $(LIBTRANSISTOR_HOME)/libtransistor.mk
STATIC_LINKING=1
# PSP
else ifeq ($(platform), psp1)