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 83c36c2..6b02425 100644 (file)
@@ -398,7 +398,7 @@ install:
        -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
@@ -462,7 +462,7 @@ gcc-profile-use:
        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