From 638aad3ad5e724bb43294b255a292aa2ff83009f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 10 Jan 2018 03:14:18 +0100 Subject: Add Switch target --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1f6c380..9d2a545 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3