1 # Use git to define VERSION: 'v2.0.1-81-g0c1619f'
2 # Otherwise see 'src/common.h'
5 # Optimize executable for speed
10 use_null_move_pruning
= yes
16 # Supported compiler options: gcc, intel, clang
20 ifeq ($(compiler
),gcc
)
23 ifeq ($(compiler
),intel
)
26 ifeq ($(compiler
),clang
)
30 CXXFLAGS
= -std
=c
++0x
-pipe
31 ifeq ($(compiler
),intel
)
32 CXXFLAGS
+= -Wall
-Wremarks
-wd981
-wd2259
34 CXXFLAGS
+= -Wall
-pedantic-errors
-Wcast-qual
-Wshadow
-Wextra
36 ifeq ($(use_git_describe
),yes
)
37 CXXFLAGS
+= -DVERSION
=\"$(shell git describe HEAD
)\"
39 ifeq ($(optimize
),yes
)
40 ifeq ($(compiler
),intel
)
43 CXXFLAGS
+= -O3
-march
=native
-mtune
=native
49 ifeq ($(use_profiler
),yes
)
50 CXXFLAGS
+= -pg
-lprofiler
52 ifeq ($(use_asserts
),no
)
55 ifeq ($(use_null_move_pruning
),yes
)