]> rtime.felk.cvut.cz Git - linux-conf-perf.git/blobdiff - Makefile
Add distclean targets fro root Makefile
[linux-conf-perf.git] / Makefile
index 4b36d1c8041b10ffc64448d3fd295196ab230bb7..66d49ab782bc469a0efda87c08a1e0e6d742ce4a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: all help parse_kconfig write_config build run test clean clean_linux clean_buildroot mlinux mbuildroot deflinux
+.PHONY: all help parse_kconfig write_config build run test clean clean_linux clean_buildroot mlinux mbuildroot deflinux distclean_linux distclean_buildroot distclean
 
 -include .conf.mk
 
@@ -47,12 +47,21 @@ clean:
        @$(MAKE) -C scripts/write_config/ clean
        $(RM) -r build
 
+distclean: clean distclean_linux distclean_buildroot
+       $(RM) .conf.mk
+
 clean_linux:
        @$(MAKE) -C linux clean
 
+distclean_linux:
+       @$(MAKE) -C linux distclean
+
 clean_buildroot:
        @$(MAKE) -C scripts/buildroot clean
 
+distclean_buildroot:
+       @$(MAKE) -C scripts/buildroot distclean
+
 #######################################
 
 .conf.mk: conf.py