mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 14:15:16 +01:00
18 lines
313 B
Makefile
18 lines
313 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := jni
|
|
LOCAL_SRC_FILES := jni.cpp
|
|
|
|
LOCAL_CFLAGS := \
|
|
-mandroid \
|
|
-DTARGET_OS=android -D__ANDROID__ \
|
|
-isystem $(SYSROOT)/usr/include
|
|
|
|
LOCAL_STATIC_LIBRARIES := stockfish
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
include jni/stockfish/Android.mk
|