mirror of https://github.com/snes9xgit/snes9x.git
Add Android (arm) build to libretro makefile
This commit is contained in:
parent
94aeaaca9d
commit
7c4186220a
|
@ -180,6 +180,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