mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-01-08 08:17:01 +01:00
23 lines
621 B
Makefile
23 lines
621 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := stockfish
|
|
LOCAL_SRC_FILES := \
|
|
evaluate.cpp notation.cpp search.cpp \
|
|
benchmark.cpp movegen.cpp tt.cpp \
|
|
bitbase.cpp main.cpp movepick.cpp uci.cpp \
|
|
bitboard.cpp pawns.cpp ucioption.cpp \
|
|
book.cpp material.cpp position.cpp \
|
|
endgame.cpp misc.cpp timeman.cpp thread.cpp
|
|
|
|
LOCAL_CFLAGS := -I$(LOCAL_PATH)/../stlport/stlport \
|
|
-mandroid \
|
|
-DTARGET_OS=android -D__ANDROID__ \
|
|
-isystem $(SYSROOT)/usr/include \
|
|
-DNO_PREFETCH=1
|
|
|
|
LOCAL_STATIC_LIBRARIES := stlport
|
|
|
|
include $(BUILD_EXECUTABLE)
|