summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
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)