Skip to contentSkip to conversation

tools/vtpm_manager - Use generic subdirs rules

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

lore
Share & tools
lore
#0 lore raw

PATCH 4/8 tools/vtpm_manager - Use generic subdirs rules

# HG changeset patch
# User Bastian Blank <[email protected]>
# Date 1206103830 -3600
# Node ID 7e04e27e02e4776c6a8423e138cbd86d44f47c8d # Parent fcbda0690b0f41f6b5abc93961e22797dec48789 Use generic subdirs rules.

tools/vtpm_manager/Makefile +2 -18
diff -r fcbda0690b0f -r 7e04e27e02e4 tools/vtpm_manager/Makefile
@@ -6,24 +6,8 @@ SUBDIRS		= crypto tcs util manager migra
 SUBDIRS		= crypto tcs util manager migration
 OPENSSL_HEADER	= /usr/include/openssl/crypto.h
 
-.PHONY: all
-all:
-	for subdir in $(SUBDIRS); do          \
-		$(MAKE) -C $$subdir $@;       \
-	done
-
-.PHONY: install
-install:
-	@set -e; for subdir in $(SUBDIRS); do \
-		$(MAKE) -C $$subdir $@; \
-	done
-
-.PHONY: clean
-clean:
-	@set -e; for subdir in $(SUBDIRS); do \
-		$(MAKE) -C $$subdir $@; \
-	done
-
+.PHONY: all clean install
+all clean install: %: subdirs-%
 
 .PHONY: mrproper
 mrproper:
Signature · 2 lines
A princess should not be afraid -- not with a brave knight to protect her.
		-- McCoy, "Shore Leave", stardate 3025.3