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
20 # Supported compiler options: gcc, intel, clang
24 ifeq ($(compiler
),gcc
)
27 ifeq ($(compiler
),intel
)
30 ifeq ($(compiler
),clang
)
34 CXXFLAGS
= -std
=c
++0x
-pthread
-pipe
35 ifeq ($(compiler
),intel
)
36 CXXFLAGS
+= -Wall
-Wremarks
-wd981
-wd2259
38 CXXFLAGS
+= -Wall
-pedantic-errors
-Wcast-qual
-Wshadow
-Wextra
40 ifeq ($(use_git_describe
),yes
)
41 CXXFLAGS
+= -DVERSION
=\"$(shell git describe HEAD
)\"
43 ifeq ($(optimize
),yes
)
44 ifeq ($(compiler
),intel
)
47 CXXFLAGS
+= -O3
-march
=native
-mtune
=native
53 ifeq ($(use_profiler
),yes
)
54 CXXFLAGS
+= -pg
-lprofiler
56 ifeq ($(use_asserts
),no
)
59 ifeq ($(use_check_extension
),no
)
62 ifeq ($(use_null_move_pruning
),no
)
65 ifeq ($(use_internal_iterative_deepening
),no
)
68 ifeq ($(use_futility_pruning
),no
)
71 ifeq ($(use_late_move_reduction
),no
)