Merge pull request #2359 from senhuang42/fuzz_makefile_cleanup

[minor] Fix some /tests/fuzz Makefile annoyances
This commit is contained in:
Nick Terrell 2020-10-16 13:53:34 -07:00 committed by GitHub
commit 9327a77c76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View File

@ -13,7 +13,11 @@ simple_round_trip
stream_decompress
stream_round_trip
zstd_frame_info
decompress_dstSize_tooSmall
fse_read_ncount
fuzz-*.log
rt_lib_*
d_lib_*
# misc
trace

View File

@ -99,7 +99,7 @@ FUZZ_TARGETS := \
decompress_dstSize_tooSmall \
fse_read_ncount
all: $(FUZZ_TARGETS)
all: libregression.a $(FUZZ_TARGETS)
rt_lib_common_%.o: $(ZSTDDIR)/common/%.c
$(CC) $(FUZZ_CPPFLAGS) $(FUZZ_CFLAGS) $(FUZZ_ROUND_TRIP_FLAGS) $< -c -o $@
@ -209,12 +209,10 @@ regressiontest: corpora
$(PYTHON) ./fuzz.py regression all
clean:
@$(RM) *.a *.o
@$(RM) simple_round_trip stream_round_trip simple_decompress \
stream_decompress block_decompress block_round_trip \
simple_compress dictionary_round_trip dictionary_decompress \
zstd_frame_info
@$(RM) *.a *.o $(FUZZ_TARGETS)
@echo Cleaning completed
cleanall:
@$(RM) -r Fuzzer
@$(RM) -r corpora
@echo Cleaning completed