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 CXXFLAGS
= -std
=c
++0x
-pthread
-pipe
22 ifeq ($(CXX
),icpc
) # Intel Compiler
23 CXXFLAGS
+= -Wall
-Wremarks
-wd981
-wd2259
25 CXXFLAGS
+= -Wall
-pedantic-errors
-Wcast-qual
-Wshadow
-Wextra
27 ifeq ($(use_git_describe
),yes
)
28 CXXFLAGS
+= -DVERSION
=\"$(shell git describe HEAD
)\"
30 ifeq ($(optimize
),yes
)
31 ifeq ($(CXX
),icpc
) # Intel Compiler
34 CXXFLAGS
+= -O3
-march
=native
-mtune
=native
37 ifeq ($(use_gcov
),yes
)
38 CXXFLAGS
+= -fprofile-arcs
-ftest-coverage
43 ifeq ($(use_profiler
),yes
)
44 CXXFLAGS
+= -pg
-lprofiler
46 ifeq ($(use_asserts
),no
)
49 ifeq ($(use_check_extension
),no
)
52 ifeq ($(use_null_move_pruning
),no
)
55 ifeq ($(use_internal_iterative_deepening
),no
)
58 ifeq ($(use_futility_pruning
),no
)
61 ifeq ($(use_late_move_reduction
),no
)