summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2016-09-07 05:56:05 +0200
committertwinaphex2016-09-07 05:56:05 +0200
commit815b571d9204d58b4bcdcd9b9f42b7d6d24afb88 (patch)
tree9f6dc12522103a04c5019d0f5e14ab62456652c5 /Makefile
parentfd7b58a53c5bae84075642f75c74e51ed5d9a22e (diff)
downloadsnes9x2002-815b571d9204d58b4bcdcd9b9f42b7d6d24afb88.tar.gz
snes9x2002-815b571d9204d58b4bcdcd9b9f42b7d6d24afb88.tar.bz2
snes9x2002-815b571d9204d58b4bcdcd9b9f42b7d6d24afb88.zip
(Emscripten) Add target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0affc3d..280ec92 100644
--- a/Makefile
+++ b/Makefile
@@ -116,6 +116,12 @@ else ifeq ($(platform), ctr)
CFLAGS += -D_3DS
PLATFORM_DEFINES := -D_3DS
STATIC_LINKING := 1
+
+# Emscripten
+else ifeq ($(platform), emscripten)
+ TARGET := $(TARGET_NAME)_libretro_$(platform).bc
+ STATIC_LINKING := 1
+
# GCW0
else ifeq ($(platform), gcw0)
TARGET := $(TARGET_NAME)_libretro.so