From 47811acccdf3d74faa15fda4b095b466bfed25cd Mon Sep 17 00:00:00 2001 From: Rick Altherr Date: Mon, 5 Feb 2018 17:51:33 -0800 Subject: [PATCH] Top-level clean target Signed-off-by: Rick Altherr --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 088c7b50..acc911e2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ CLANG_FORMAT ?= clang-format +.PHONY: format clean + build: git submodule update --init --recursive mkdir -p build @@ -9,3 +11,7 @@ format: find . -name \*.cc -and -not -path './third_party/*' -and -not -path './.git/*' -exec $(CLANG_FORMAT) -style=file -i {} \; find . -name \*.h -and -not -path './third_party/*' -and -not -path './.git/*' -exec $(CLANG_FORMAT) -style=file -i {} \; find . -name \*.py -and -not -path './third_party/*' -and -not -path './.git/*' -exec yapf -p -i {} \; + +clean: + $(MAKE) -C fuzzers clean + rm -rf build