From: Ian Jackson Date: Wed, 5 Jan 2011 00:46:44 +0000 (+0000) Subject: Makefiles: run realclean as tidy first then clean, as clean likes to delete some... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=6059502da4353aaa68718be91be691310fc08e6e;p=trains.git Makefiles: run realclean as tidy first then clean, as clean likes to delete some included makefiles which recursive tidy will put back --- 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