From 21b5bcc0757a351a462f62a8acbf0e270b91cd73 Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Tue, 14 Jan 2014 23:39:00 +0400 Subject: [PATCH] zdtm/make: return .PHONY for default I don't why it is required here, but make doesn't work w/o it make[2]: Leaving directory ` make[1]: Leaving directory ` set -e; for d in lib live; do make -C $d default; done make[1]: Entering directory ` make[1]: *** No rule to make target `default'. Stop. make[1]: Leaving directory ` make: *** [default] Error 2 Signed-off-by: Andrey Vagin Acked-by: Kir Kolyshkin Signed-off-by: Pavel Emelyanov --- test/zdtm/Makefile | 1 + test/zdtm/live/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/test/zdtm/Makefile b/test/zdtm/Makefile index 66fa15bc2..5e0ba42b8 100644 --- a/test/zdtm/Makefile +++ b/test/zdtm/Makefile @@ -1,6 +1,7 @@ SUBDIRS = lib live default: all +.PHONY: default %: set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done diff --git a/test/zdtm/live/Makefile b/test/zdtm/live/Makefile index 0a551044c..0640bb4d9 100644 --- a/test/zdtm/live/Makefile +++ b/test/zdtm/live/Makefile @@ -1,6 +1,7 @@ SUBDIRS = streaming transition static default: all +.PHONY: default %: set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done