2011-11-12 20:44:06 +01:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
2015-01-07 21:42:18 +01:00
|
|
|
SF_SRC_FILES := \
|
2015-02-01 01:46:09 +01:00
|
|
|
benchmark.cpp main.cpp movegen.cpp pawns.cpp thread.cpp uci.cpp \
|
|
|
|
bitbase.cpp endgame.cpp material.cpp movepick.cpp position.cpp timeman.cpp ucioption.cpp \
|
|
|
|
bitboard.cpp evaluate.cpp misc.cpp search.cpp tt.cpp syzygy/tbprobe.cpp
|
2011-11-12 20:44:06 +01:00
|
|
|
|
2015-01-07 21:42:18 +01:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := stockfish-nopie
|
|
|
|
LOCAL_SRC_FILES := $(SF_SRC_FILES)
|
2014-10-12 14:38:00 +02:00
|
|
|
LOCAL_CFLAGS := -std=c++11 -O2
|
2015-01-07 21:42:18 +01:00
|
|
|
include $(BUILD_EXECUTABLE)
|
2011-11-12 20:44:06 +01:00
|
|
|
|
2015-01-07 21:42:18 +01:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := stockfish
|
|
|
|
LOCAL_SRC_FILES := $(SF_SRC_FILES)
|
|
|
|
LOCAL_CFLAGS := -std=c++11 -O2 -fPIE
|
2015-01-11 15:27:27 +01:00
|
|
|
LOCAL_LDFLAGS += -fPIE -pie
|
2012-01-04 22:02:26 +01:00
|
|
|
include $(BUILD_EXECUTABLE)
|