summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-07-26 07:28:46 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-07-26 07:29:29 +0200
commit24bbaa0b14184447640d7ad7654679ce220e97fa (patch)
tree2d7c663161101f608dc785cb9db93df572996c59
parentbb3e5ac1fa5929f9bb33b6fc011d4c7a98b93857 (diff)
Adding deepclean command.
-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