From d57f89f3f1cb7730fdaabda0237833ef3235c22c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 6 Mar 2015 11:28:53 +0100 Subject: Add linux-portable target --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 5bb804e..e3c1979 100644 --- a/Makefile +++ b/Makefile @@ -79,6 +79,15 @@ ifeq ($(platform), unix) ifeq ($(HAVE_DYNAREC),1) HAVE_MMAP = 1 endif +else ifeq ($(platform), linux-portable) + TARGET := $(TARGET_NAME)_libretro.so + fpic := -fPIC -nostdlib + SHARED := -shared $(FORCE_32BIT) -Wl,--version-script=link.T + LIBM := + CFLAGS += $(FORCE_32BIT) + ifeq ($(HAVE_DYNAREC),1) + HAVE_MMAP = 1 + endif # OS X else ifeq ($(platform), osx) -- cgit v1.2.3