]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Introduce update_gains() and refactor some code
[stockfish] / src / Makefile
index d5a72b66f5a5a829c98ca7270687e26a1a906c06..aa7d97f870f3abbb020a534181b89975b6502a42 100644 (file)
@@ -25,11 +25,8 @@ EXE = stockfish
 ### ==========================================================================
 ### Compiler speed switches for both GCC and ICC. These settings are generally
 ### fast on a broad range of systems, but may be changed experimentally
-###
-### NOTE: Some versions of gcc miscompile value.h with -O2 or -O3, this is the
-### safe setup, try changing to -O3 or -O2 and verify it works for you.
 ### ==========================================================================
-GCCFLAGS = -O1 -msse
+GCCFLAGS = -O3 -msse
 ICCFLAGS = -fast -msse
 ICCFLAGS-OSX = -fast -mdynamic-no-pic
 
@@ -71,7 +68,7 @@ LDFLAGS  = -lpthread
 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
+       maxgain.o mersenne.o book.o bitbase.o san.o benchmark.o
 
 
 ### General rules. Do not change
@@ -304,6 +301,6 @@ $(EXE): $(OBJS)
 
 ### Dependencies. Do not change
 .depend:
-       $(CXX) -msse -MM $(OBJS:.o=.cpp) > $@
+       $(CXX) -MM $(OBJS:.o=.cpp) > $@
 
 include .depend