Add linux-portable target

This commit is contained in:
twinaphex
2015-03-05 19:27:20 +01:00
parent c771b2384e
commit ceaf498c23
2 changed files with 7 additions and 1 deletions

View File

@@ -37,6 +37,12 @@ ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
SHARED := -shared
DONT_COMPILE_IN_ZLIB = 1
CFLAGS += -DFAMEC_NO_GOTOS
else ifeq ($(platform), linux-portable)
TARGET := $(TARGET_NAME)_libretro.so
SHARED := -shared -nostdlib -L. -lmusl
DONT_COMPILE_IN_ZLIB = 1
CFLAGS += -DFAMEC_NO_GOTOS
else ifeq ($(platform), osx)
TARGET := $(TARGET_NAME)_libretro.dylib
SHARED := -dynamiclib