summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2018-01-10 03:14:18 +0100
committertwinaphex2018-01-10 03:14:18 +0100
commit638aad3ad5e724bb43294b255a292aa2ff83009f (patch)
tree571c394a0c49f8d41cad5cabc75c40bf26884aa9 /Makefile
parenta00ccac058f61b3b7638b51d9f6197341884bec6 (diff)
downloadpicogpsp-638aad3ad5e724bb43294b255a292aa2ff83009f.tar.gz
picogpsp-638aad3ad5e724bb43294b255a292aa2ff83009f.tar.bz2
picogpsp-638aad3ad5e724bb43294b255a292aa2ff83009f.zip
Add Switch target
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)