Skip to contentSkip to conversation

tools/libfsimage - Use generic subdirs rules

PATCH In review Bastian Blank 1 participant 1 message Mar 21, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 7/8 tools/libfsimage - Use generic subdirs rules

# HG changeset patch
# User Bastian Blank <[email protected]>
# Date 1206103830 -3600
# Node ID 771c3ebe0c8c0bea6a6c81271cd7462fb31f4f19 # Parent 0799fcb6f960a4bea3a11b987c14bb3b10674270 Use generic subdirs rules.

tools/libfsimage/Makefile +2 -5
diff -r 0799fcb6f960 -r 771c3ebe0c8c tools/libfsimage/Makefile
@@ -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
Signature · 2 lines
There are some things worth dying for.
		-- Kirk, "Errand of Mercy", stardate 3201.7