summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2015-03-06 11:28:53 +0100
committertwinaphex2015-03-06 11:28:53 +0100
commitd57f89f3f1cb7730fdaabda0237833ef3235c22c (patch)
treeb8981e8b2a06654f5157ea902e199b67cfc0b0f8 /Makefile
parent5b28007ceb08fa39ea8d895f94598670042b7064 (diff)
downloadpicogpsp-d57f89f3f1cb7730fdaabda0237833ef3235c22c.tar.gz
picogpsp-d57f89f3f1cb7730fdaabda0237833ef3235c22c.tar.bz2
picogpsp-d57f89f3f1cb7730fdaabda0237833ef3235c22c.zip
Add linux-portable target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
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)