fixed zstd-pgo (#329) reported by @octoploid

This commit is contained in:
Yann Collet 2016-09-02 09:44:00 -07:00
parent 04f3276304
commit 5b8c024716
2 changed files with 5 additions and 2 deletions

1
programs/.gitignore vendored
View File

@ -7,6 +7,7 @@ zstd-decompress
# Object files
*.o
*.ko
default.profraw
# Executables
*.exe

View File

@ -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