X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=5e27f9e72788f8ab14f10cf79d8ccbb2f68c1d41;hb=2a461b4b745b2542f6e13bab8c60abdb366bc128;hp=f36de8d8046038750b5fe570cdae1ff03b97fd54;hpb=5c703b752638caffa195a36bb975a807b137cf72;p=stockfish diff --git a/src/Makefile b/src/Makefile index f36de8d8..5e27f9e7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -24,7 +24,7 @@ EXE = stockfish -OBJS = bitboard.o pawns.o material.o endgame.o evaluate.o main.o \ +OBJS = application.o bitboard.o pawns.o material.o endgame.o evaluate.o main.o \ misc.o move.o movegen.o history.o movepick.o search.o piece.o \ position.o direction.o tt.o value.o uci.o ucioption.o \ mersenne.o book.o bitbase.o san.o benchmark.o @@ -44,9 +44,8 @@ clean: ### Compiler: ### -# CXX = g++ -# CXX = g++-4.2 -CXX = icpc +CXX = g++ +# CXX = icpc ### @@ -66,24 +65,25 @@ include .depend ### Compiler and linker switches ### -# Enable/disable debugging: +# Enable/disable debugging, disabled by default CXXFLAGS += -DNDEBUG -# Compile with full warnings, and symbol names +# Compile with full warnings, and symbol names stripped, you can use +# -g instead of -s to compile symbol's table in, useful for debugging. -CXXFLAGS += -Wall -g +CXXFLAGS += -Wall -s -# General optimization flags. Note that -O2 might be faster than -O3 on some +# General optimization flags. Note that -O2 might be faster than -O3 on some # systems; this requires testing. -CXXFLAGS += -O3 -fno-exceptions -fomit-frame-pointer -fno-rtti -fno-strict-aliasing +CXXFLAGS += -O3 -fno-exceptions -fno-rtti -fno-strict-aliasing # Disable most annoying warnings for the Intel C++ compiler -CXXFLAGS += -wd383,869,981 +# CXXFLAGS += -wd383,869,981 # Compiler optimization flags for the Intel C++ compiler in Mac OS X: