]> git.sesse.net Git - stockfish/commitdiff
Cleaning Syzygy profiling data
authorRodrigo Exterckötter Tjäder <rodrigo@tjader.com.br>
Thu, 27 Nov 2014 18:30:18 +0000 (16:30 -0200)
committerJoona Kiiski <joona.kiiski@gmail.com>
Sun, 30 Nov 2014 19:53:04 +0000 (19:53 +0000)
Updating the makefile so that the clean and gcc-profile-clean targets also
remove the profiling data files in the syzygy directory.

No functional change.

Resolves #136

src/Makefile

index 83c36c2b8bf5c08f1eb1f75bb005e85b7e135330..6b02425e07b2ce2f160e98ed93fa2defd3e26586 100644 (file)
@@ -398,7 +398,7 @@ install:
        -strip $(BINDIR)/$(EXE)
 
 clean:
        -strip $(BINDIR)/$(EXE)
 
 clean:
-       $(RM) $(EXE) $(EXE).exe *.o .depend *~ core bench.txt *.gcda ./syzygy/*.o
+       $(RM) $(EXE) $(EXE).exe *.o .depend *~ core bench.txt *.gcda ./syzygy/*.o ./syzygy/*.gcda
 
 default:
        help
 
 default:
        help
@@ -462,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