From: Joona Kiiski Date: Sun, 7 Dec 2014 19:54:23 +0000 (+0000) Subject: Fix profile build for syzygy X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=b15dcd977487c58409de48016eb7680850481d5d Fix profile build for syzygy Touch source files under syzygy directory to force recompilation after collecting profile data. No functional change Resolves #149 --- diff --git a/src/Makefile b/src/Makefile index 301cbdde..80867feb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -366,14 +366,14 @@ profile-build: $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_prepare) @echo "" @echo "Step 1/4. Building executable for benchmark ..." - @touch *.cpp *.h + @touch *.cpp *.h syzygy/*.cpp syzygy/*.h $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_make) @echo "" @echo "Step 2/4. Running benchmark for pgo-build ..." @$(PGOBENCH) > /dev/null @echo "" @echo "Step 3/4. Building final executable ..." - @touch *.cpp + @touch *.cpp *.h syzygy/*.cpp syzygy/*.h $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_use) @echo "" @echo "Step 4/4. Deleting profile data ..."