Explorar o código

Add clean target - use after pulling in new changes.

Paul Sokolovsky %!s(int64=10) %!d(string=hai) anos
pai
achega
0b42e1403e
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      Makefile

+ 7 - 0
Makefile

@@ -97,3 +97,10 @@ _ct-ng:
 crosstool-NG/bootstrap:
 crosstool-NG/bootstrap:
 	@echo "You cloned without --recursive, fetching submodules for you."
 	@echo "You cloned without --recursive, fetching submodules for you."
 	git submodule update --init --recursive
 	git submodule update --init --recursive
+
+
+clean:
+	make -C crosstool-NG clean MAKELEVEL=0
+	-rm -rf $(TOOLCHAIN)
+	-rm -rf $(readlink sdk)
+	-rm -f sdk