Merge pull request #149 from loganmc10/master

Add Android (arm) build to libretro makefile
This commit is contained in:
bearoso 2016-11-15 17:34:55 -06:00 committed by GitHub
commit 3d52fb7629
2 changed files with 9 additions and 0 deletions

View File

@ -182,6 +182,14 @@ else ifneq (,$(findstring armv,$(platform)))
endif
CXXFLAGS += -DARM
# Android
else ifneq (,$(findstring android,$(platform)))
TARGET := $(TARGET_NAME)_libretro_android.so
SHARED := -shared -Wl,--no-undefined -march=armv7-a -Wl,--fix-cortex-a8
fpic := -fPIC
CXXFLAGS += -marm -march=armv7-a -mfloat-abi=softfp -mfpu=neon -DANDROID -DARM
HAVE_NEON = 1
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll

View File

@ -37,6 +37,7 @@ SOURCES_CXX := $(CORE_DIR)/apu/apu.cpp \
$(CORE_DIR)/stream.cpp \
$(CORE_DIR)/sa1.cpp \
$(CORE_DIR)/sa1cpu.cpp \
$(CORE_DIR)/screenshot.cpp \
$(CORE_DIR)/sdd1.cpp \
$(CORE_DIR)/sdd1emu.cpp \
$(CORE_DIR)/seta.cpp \