From cdf69dbed62855140e8c3c259b172af7078821a2 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 27 Feb 2013 22:08:58 +0100 Subject: [PATCH] build: add distclean target to out-of-tree builds --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 069c67e5..1584e670 100644 --- a/Makefile +++ b/Makefile @@ -46,8 +46,8 @@ Makefile:: ; # Turn everything else into a no-op rule that depends on the build directory. %:: $(builddir_name) ; -.PHONY: clean -clean: +.PHONY: clean distclean +clean distclean: $(RM) -fr $(builddir_name) endif