From: Bastian Blank Subject: [PATCH 7/8] tools/libfsimage - Use generic subdirs rules Date: Fri, 21 Mar 2008 14:02:30 +0100 Message-ID: <20080321130230.GG30833@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Bastian Blank # Date 1206103830 -3600 # Node ID 771c3ebe0c8c0bea6a6c81271cd7462fb31f4f19 # Parent 0799fcb6f960a4bea3a11b987c14bb3b10674270 Use generic subdirs rules. Signed-off-by: Bastian Blank diff -r 0799fcb6f960 -r 771c3ebe0c8c tools/libfsimage/Makefile --- a/tools/libfsimage/Makefile Fri Mar 21 13:50:30 2008 +0100 +++ b/tools/libfsimage/Makefile Fri Mar 21 13:50:30 2008 +0100 @@ -4,10 +4,7 @@ SUBDIRS-y = common ufs reiserfs iso9660 SUBDIRS-y = common ufs reiserfs iso9660 fat SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs) -.PHONY: all -all install clean: - @set -e; for subdir in $(SUBDIRS-y); do \ - $(MAKE) -C $$subdir $@; \ - done +.PHONE: all clean install +all clean install: %: subdirs-% distclean: clean -- There are some things worth dying for. -- Kirk, "Errand of Mercy", stardate 3201.7