mirror of https://github.com/openXC7/prjxray.git
Top-level clean target
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
This commit is contained in:
parent
7980e069dd
commit
47811acccd
6
Makefile
6
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue