[CRIU] [PATCH 2/9] test/zdtm/Makefile: simplify
Kir Kolyshkin
kir at openvz.org
Wed Mar 29 15:21:13 PDT 2017
Brevity is the soul of wit.
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
test/zdtm/Makefile | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/test/zdtm/Makefile b/test/zdtm/Makefile
index 8abf214..24a33f2 100644
--- a/test/zdtm/Makefile
+++ b/test/zdtm/Makefile
@@ -1,18 +1,13 @@
-SUBDIRS = lib static transition
+SUBDIRS := lib static transition
-default: all
-.PHONY: default lib static transition
+all: $(SUBDIRS)
+.PHONY: all $(SUBDIRS)
-lib:
- $(MAKE) -C lib all
+$(SUBDIRS):
+ $(MAKE) -C $@ all
static: lib
- $(MAKE) -C static all
-
transition: lib
- $(MAKE) -C transition all
-all: lib static transition
- @true
%:
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
--
2.9.3
More information about the CRIU
mailing list