1 # Use git to define VERSION: 'v2.0.1-81-g0c1619f'
2 # Otherwise see 'src/common.h'
5 # Optimize executable for speed
10 use_check_extension
= yes
11 use_null_move_pruning
= yes
12 use_internal_iterative_deepening
= yes
13 use_futility_pruning
= yes
14 use_late_move_reduction
= yes
21 # Supported compiler options: gcc, intel, clang
25 ifeq ($(compiler
),gcc
)
28 ifeq ($(compiler
),intel
)
31 ifeq ($(compiler
),clang
)
35 CXXFLAGS
= -std
=c
++0x
-pthread
-pipe
36 ifeq ($(compiler
),intel
)
37 CXXFLAGS
+= -Wall
-Wremarks
-wd981
-wd2259
39 CXXFLAGS
+= -Wall
-pedantic-errors
-Wcast-qual
-Wshadow
-Wextra
41 ifeq ($(use_git_describe
),yes
)
42 CXXFLAGS
+= -DVERSION
=\"$(shell git describe HEAD
)\"
44 ifeq ($(optimize
),yes
)
45 ifeq ($(compiler
),intel
)
48 CXXFLAGS
+= -O3
-march
=native
-mtune
=native
51 ifeq ($(use_gcov
),yes
)
52 CXXFLAGS
+= -fprofile-arcs
-ftest-coverage
57 ifeq ($(use_profiler
),yes
)
58 CXXFLAGS
+= -pg
-lprofiler
60 ifeq ($(use_asserts
),no
)
63 ifeq ($(use_check_extension
),no
)
66 ifeq ($(use_null_move_pruning
),no
)
69 ifeq ($(use_internal_iterative_deepening
),no
)
72 ifeq ($(use_futility_pruning
),no
)
75 ifeq ($(use_late_move_reduction
),no
)