]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Allow using Intel SDE for PGO builds.
[stockfish] / src / Makefile
index eb32758f98de016e6fa795ade98f47103646558d..cdd2007fd2b1f1724b82da4f87fcd0ba2bcfc602 100644 (file)
@@ -31,7 +31,11 @@ PREFIX = /usr/local
 BINDIR = $(PREFIX)/bin
 
 ### Built-in benchmark for pgo-builds
-PGOBENCH = ./$(EXE) bench
+ifeq ($(SDE_PATH),)
+       PGOBENCH = ./$(EXE) bench
+else
+       PGOBENCH = $(SDE_PATH) -- ./$(EXE) bench
+endif
 
 ### Source and object files
 SRCS = benchmark.cpp bitbase.cpp bitboard.cpp endgame.cpp evaluate.cpp main.cpp \