summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4f7c082..c2a0bda 100644
--- a/Makefile
+++ b/Makefile
@@ -70,4 +70,12 @@ clean:
rm -f $(ALL_OBJECTS) $(ALL_DEPS) $(TARGET)
$(MAKE) -C Balau clean
-.PHONY: clean strip Balau tests all
+deepclean:
+ git clean -f -d -x
+ git submodule foreach git clean -f -d -x
+ git submodule foreach git submodule foreach git clean -f --d -x
+ git reset --hard HEAD
+ git submodule foreach git reset --hard HEAD
+ git submodule foreach git submodule foreach git reset --hard HEAD
+
+.PHONY: clean deepclean strip Balau tests all