From dc55e330e29fc75ce3b3ab95a8bce883739d9336 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 25 Jul 2002 20:46:01 +0000 Subject: [PATCH] subdirs.mk: Move call targets up --- make/subdirs.mk | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/make/subdirs.mk b/make/subdirs.mk index eb40f382..042cf2af 100644 --- a/make/subdirs.mk +++ b/make/subdirs.mk @@ -1,7 +1,7 @@ -clean.var: - rm -rf $(CLEAN) -distclean.var: - rm -rf $(DISTCLEAN) +all: all.dirs +install: install.dirs +clean: clean.dirs clean.var +distclean: distclean.dirs distclean.var ifdef SUBDIRS @@ -14,11 +14,6 @@ clean.dirs: distclean.dirs: set -e; for dir in $(SUBDIRS); do make -C $$dir distclean; done -all: all.dirs -install: install.dirs -clean: clean.dirs clean.var -distclean: distclean.dirs distclean.var - else all.dirs: @@ -27,3 +22,9 @@ clean.dirs: distclean.dirs: endif + +clean.var: + rm -rf $(CLEAN) +distclean.var: + rm -rf $(DISTCLEAN) +