droidfish/DroidFish/jni/stockfish/Android.mk
2012-09-16 15:16:15 +00:00

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)