mirror of
https://github.com/libretro/snes9x.git
synced 2024-12-02 14:26:38 +00:00
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
|
||||
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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user