mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-13 11:52:08 +00:00
26 lines
450 B
Makefile
26 lines
450 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
APP_DIR := ../../src
|
|
|
|
LOCAL_MODULE := retro
|
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
LOCAL_CFLAGS += -DANDROID_ARM
|
|
endif
|
|
|
|
ifeq ($(TARGET_ARCH),x86)
|
|
LOCAL_CFLAGS += -DANDROID_X86
|
|
endif
|
|
|
|
ifeq ($(TARGET_ARCH),mips)
|
|
LOCAL_CFLAGS += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
|
|
endif
|
|
|
|
LOCAL_SRC_FILES += ../libretro-test.c
|
|
LOCAL_CFLAGS += -O3 -std=gnu99 -ffast-math -funroll-loops
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|