32 lines
609 B
Makefile
32 lines
609 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
HAVE_NETWORK = 1
|
|
LOCAL_MODULE := libretro
|
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
LOCAL_CXXFLAGS += -DANDROID_ARM
|
|
LOCAL_ARM_MODE := arm
|
|
endif
|
|
|
|
ifeq ($(TARGET_ARCH),x86)
|
|
LOCAL_CXXFLAGS += -DANDROID_X86
|
|
endif
|
|
|
|
ifeq ($(TARGET_ARCH),mips)
|
|
LOCAL_CXXFLAGS += -DANDROID_MIPS
|
|
endif
|
|
|
|
CORE_DIR := ../..
|
|
|
|
include ../../Makefile.common
|
|
|
|
LOCAL_SRC_FILES := $(SOURCES_CXX) $(SOURCES_C)
|
|
LOCAL_CXXFLAGS += -DINLINE=inline -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DNDEBUG -D_USE_MATH_DEFINES -DGB_INTERNAL
|
|
|
|
LOCAL_C_INCLUDES = $(INCFLAGS)
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|