diff --git a/Makefile.libretro b/Makefile.libretro index e81194f..49bbafe 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -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