summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/main.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/core/main.mk b/core/main.mk
index e2a1e34..2caf3d2 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -1006,8 +1006,19 @@ clean:
@rm -rf $(OUT_DIR)/*
@echo -e ${CL_GRN}"Entire build directory removed."${CL_RST}
+.PHONY: tcclean
+tcclean:
+ @cd toolchain
+ @rm -rf clang
+ @rm -rf gcc
+ @rm -rf headers
+ @rm -rf jack_jill
+ @cd ..
+ @echo -e ${CL_GRN}"All toolchain build directories removed."${CL_RST}
+
+
.PHONY: clobber
-clobber: clean
+clobber: clean tcclean
# The rules for dataclean and installclean are defined in cleanbuild.mk.