diff --git a/programs/.gitignore b/programs/.gitignore index 5875fc79..24f96cf4 100644 --- a/programs/.gitignore +++ b/programs/.gitignore @@ -7,6 +7,7 @@ zstd-decompress # Object files *.o *.ko +default.profraw # Executables *.exe diff --git a/programs/Makefile b/programs/Makefile index fc634b60..280c2727 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -97,6 +97,7 @@ zstd-pgo : clean zstd ./zstd -b7i2 $(PROFILE_WITH) ./zstd -b5 $(PROFILE_WITH) $(RM) zstd + $(RM) $(ZSTDDIR)/decompress/zstd_decompress.o $(MAKE) zstd MOREFLAGS=-fprofile-use zstd-frugal: $(ZSTDDECOMP_O) $(ZSTD_FILES) zstdcli.c fileio.c @@ -116,9 +117,10 @@ zstd-small: clean clean: $(MAKE) -C ../lib clean - @$(RM) ../lib/decompress/*.o + @$(RM) $(ZSTDDIR)/decompress/*.o $(ZSTDDIR)/decompress/zstd_decompress.gcda @$(RM) core *.o tmp* result* *.gcda dictionary *.zst \ - zstd$(EXT) zstd32$(EXT) zstd-compress$(EXT) zstd-decompress$(EXT) + zstd$(EXT) zstd32$(EXT) zstd-compress$(EXT) zstd-decompress$(EXT) \ + *.gcda default.profraw @echo Cleaning completed