From beda81c538fb1a2f05b59732c50b3a36241bb74c Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Thu, 7 May 2015 17:47:19 -0700 Subject: [PATCH] rm -rf in make clean Summary: Without this I get bunch of questions when I run `make clean` Test Plan: no more questions! Reviewers: rven, yhchiang, meyering, anthony Reviewed By: meyering, anthony Subscribers: meyering, dhruba, leveldb Differential Revision: https://reviews.facebook.net/D38145 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7fad691c8..06ac5ea23 100644 --- a/Makefile +++ b/Makefile @@ -563,7 +563,7 @@ unity: unity.o clean: rm -f $(BENCHMARKS) $(TOOLS) $(TESTS) $(LIBRARY) $(SHARED) rm -rf $(CLEAN_FILES) ios-x86 ios-arm scan_build_report - find . -name "*.[oda]" -exec rm {} \; + find . -name "*.[oda]" -exec rm -f {} \; find . -type f -regex ".*\.\(\(gcda\)\|\(gcno\)\)" -exec rm {} \; rm -rf bzip2* snappy* zlib* lz4*