1 LOCAL_PATH
:= $(call my-dir
)
3 CORE_DIR
:= $(LOCAL_PATH
)/..
/..
5 GIT_VERSION
:= " $(shell git rev-parse --short HEAD || echo unknown)"
10 ifeq ($(TARGET_ARCH_ABI
), x86
)
12 else ifeq ($(TARGET_ARCH_ABI
), x86_64
)
14 else ifeq ($(TARGET_ARCH_ABI
), armeabi-v7a
)
16 else ifeq ($(TARGET_ARCH_ABI
), arm64-v8a
)
22 include $(CORE_DIR
)/libretro
/Makefile.common
24 COREFLAGS
:= -ffast-math
-funroll-loops
-D__LIBRETRO__
-DINLINE
=inline
$(INCFLAGS
) $(COREDEFINES
)
26 ifneq ($(GIT_VERSION
), " unknown")
27 COREFLAGS
+= -DGIT_VERSION
=\"$(GIT_VERSION
)\"
32 LOCAL_SRC_FILES
:= $(SOURCES_C
) $(SOURCES_CXX
) $(SOURCES_ASM
)
33 LOCAL_CFLAGS
:= $(COREFLAGS
)
34 LOCAL_LDFLAGS
:= -Wl
,-version-script
=$(CORE_DIR
)/libretro
/link.T
36 ifeq ($(TARGET_ARCH_ABI
), armeabi-v7a
)
37 LOCAL_ARM_NEON
:= true
40 include $(BUILD_SHARED_LIBRARY
)