From 6059502da4353aaa68718be91be691310fc08e6e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 5 Jan 2011 00:46:44 +0000 Subject: [PATCH] Makefiles: run realclean as tidy first then clean, as clean likes to delete some included makefiles which recursive tidy will put back --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1023bf4..6734166 100644 --- a/Makefile +++ b/Makefile @@ -31,4 +31,7 @@ clean: host_clean pic_clean rm -f *~ .*~ tidy: host_tidy pic_tidy -realclean: clean tidy + +realclean: + $(MAKE) tidy + $(MAKE) clean -- 2.30.2