mirror of
https://github.com/libretro/RetroArch
synced 2025-02-27 18:41:01 +00:00
(Android) Add Android makefiles for libretro-test
This commit is contained in:
parent
84abbe110b
commit
f5e9ac31d3
25
libretro-test/jni/Android.mk
Normal file
25
libretro-test/jni/Android.mk
Normal file
@ -0,0 +1,25 @@
|
||||
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)
|
1
libretro-test/jni/Application.mk
Normal file
1
libretro-test/jni/Application.mk
Normal file
@ -0,0 +1 @@
|
||||
APP_ABI := all
|
Loading…
x
Reference in New Issue
Block a user