aboutsummaryrefslogtreecommitdiffstats
path: root/tools/blktap
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-03-25 09:50:27 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-03-25 09:50:27 +0000
commitd4921fd504125e80df12b587862a6f19a231e96e (patch)
tree4e25aca44f5932e5cbff669f78e9d4c5dc5604e0 /tools/blktap
parentf703fec058d8c0d1c0c47b3426f6f8506688b767 (diff)
downloadxen-d4921fd504125e80df12b587862a6f19a231e96e.tar.gz
xen-d4921fd504125e80df12b587862a6f19a231e96e.tar.bz2
xen-d4921fd504125e80df12b587862a6f19a231e96e.zip
tools/blktap: Use generic subdirs rules.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/blktap')
-rw-r--r--tools/blktap/Makefile22
1 files changed, 2 insertions, 20 deletions
diff --git a/tools/blktap/Makefile b/tools/blktap/Makefile
index 671c4f4b87..871e2c4b60 100644
--- a/tools/blktap/Makefile
+++ b/tools/blktap/Makefile
@@ -5,24 +5,6 @@ SUBDIRS-y :=
SUBDIRS-y += lib
SUBDIRS-y += drivers
-.PHONY: all
-all: build
+.PHONY: all clean install
+all clean install: %: subdirs-%
-.PHONY: build
-build:
- @set -e; for subdir in $(SUBDIRS-y); do \
- $(MAKE) -C $$subdir all; \
- done
-
-.PHONY: install
-install:
- @set -e; for subdir in $(SUBDIRS-y); do \
- $(MAKE) -C $$subdir install; \
- done
-
-.PHONY: clean
-clean:
- rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS
- @set -e; for subdir in $(SUBDIRS-y); do \
- $(MAKE) -C $$subdir clean; \
- done