mirror of https://github.com/snes9xgit/snes9x.git
Merge pull request #149 from loganmc10/master
Add Android (arm) build to libretro makefile
This commit is contained in:
commit
3d52fb7629
|
@ -182,6 +182,14 @@ else ifneq (,$(findstring armv,$(platform)))
|
||||||
endif
|
endif
|
||||||
CXXFLAGS += -DARM
|
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
|
# Windows
|
||||||
else
|
else
|
||||||
TARGET := $(TARGET_NAME)_libretro.dll
|
TARGET := $(TARGET_NAME)_libretro.dll
|
||||||
|
|
|
@ -37,6 +37,7 @@ SOURCES_CXX := $(CORE_DIR)/apu/apu.cpp \
|
||||||
$(CORE_DIR)/stream.cpp \
|
$(CORE_DIR)/stream.cpp \
|
||||||
$(CORE_DIR)/sa1.cpp \
|
$(CORE_DIR)/sa1.cpp \
|
||||||
$(CORE_DIR)/sa1cpu.cpp \
|
$(CORE_DIR)/sa1cpu.cpp \
|
||||||
|
$(CORE_DIR)/screenshot.cpp \
|
||||||
$(CORE_DIR)/sdd1.cpp \
|
$(CORE_DIR)/sdd1.cpp \
|
||||||
$(CORE_DIR)/sdd1emu.cpp \
|
$(CORE_DIR)/sdd1emu.cpp \
|
||||||
$(CORE_DIR)/seta.cpp \
|
$(CORE_DIR)/seta.cpp \
|
||||||
|
|
Loading…
Reference in New Issue