aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-14 17:50:10 -0400
committerRob Austein <sra@hactrn.net>2017-04-14 17:50:10 -0400
commit92b67aebd49eadbff9efa3d76ef4f25c5df186d4 (patch)
treec0efb510b399f61fa21cd8bd64715cbd4e58648d /Makefile
parent10eba36ef58559cf7964aa5c4888cee117122b31 (diff)
Add "tidy" target, like clean but leaves firmware build tree alone.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 69766ac..9865c3a 100644
--- a/Makefile
+++ b/Makefile
@@ -67,11 +67,14 @@ enchilada: all upload
init:
git submodule update --init --recursive
-clean:
+tidy:
rm -rf tap
- git clean -dfx
+ git clean -ndx -e build
git submodule foreach --recursive git clean -dfx
+clean: tidy
+ git clean -dfx
+
sandblast: clean
git submodule deinit -f .