]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Remove CONNECTED_KINGS from Syzygy code
[stockfish] / src / Makefile
index 562192ca6150690e1216257cb668ab1d634939da..6b02425e07b2ce2f160e98ed93fa2defd3e26586 100644 (file)
@@ -35,12 +35,12 @@ endif
 BINDIR = $(PREFIX)/bin
 
 ### Built-in benchmark for pgo-builds
 BINDIR = $(PREFIX)/bin
 
 ### Built-in benchmark for pgo-builds
-PGOBENCH = ./$(EXE) bench 32 1 1 default time
+PGOBENCH = ./$(EXE) bench 16 1 1 default time
 
 ### Object files
 OBJS = benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o \
 
 ### Object files
 OBJS = benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o \
-       material.o misc.o movegen.o movepick.o notation.o pawns.o \
-       position.o search.o thread.o timeman.o tt.o uci.o ucioption.o
+       material.o misc.o movegen.o movepick.o pawns.o position.o \
+       search.o thread.o timeman.o tt.o uci.o ucioption.o syzygy/tbprobe.o
 
 ### ==========================================================================
 ### Section 2. High-level Configuration
 
 ### ==========================================================================
 ### Section 2. High-level Configuration
@@ -285,7 +285,11 @@ endif
 
 ### 3.9 popcnt
 ifeq ($(popcnt),yes)
 
 ### 3.9 popcnt
 ifeq ($(popcnt),yes)
-       CXXFLAGS += -msse4.2 -DUSE_POPCNT
+       ifeq ($(comp),icc)
+               CXXFLAGS += -msse3 -DUSE_POPCNT
+       else
+               CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT
+       endif
 endif
 
 ### 3.10 pext
 endif
 
 ### 3.10 pext
@@ -394,7 +398,7 @@ install:
        -strip $(BINDIR)/$(EXE)
 
 clean:
        -strip $(BINDIR)/$(EXE)
 
 clean:
-       $(RM) $(EXE) $(EXE).exe *.o .depend *~ core bench.txt *.gcda
+       $(RM) $(EXE) $(EXE).exe *.o .depend *~ core bench.txt *.gcda ./syzygy/*.o ./syzygy/*.gcda
 
 default:
        help
 
 default:
        help
@@ -458,7 +462,7 @@ gcc-profile-use:
        all
 
 gcc-profile-clean:
        all
 
 gcc-profile-clean:
-       @rm -rf *.gcda *.gcno bench.txt
+       @rm -rf *.gcda *.gcno syzygy/*.gcda syzygy/*.gcno bench.txt
 
 icc-profile-prepare:
        $(MAKE) ARCH=$(ARCH) COMP=$(COMP) icc-profile-clean
 
 icc-profile-prepare:
        $(MAKE) ARCH=$(ARCH) COMP=$(COMP) icc-profile-clean