[CRIU] [PATCH 3/3] test/others/libcriu/Makefile: fix phony targets
Kir Kolyshkin
kolyshkin at gmail.com
Wed Jan 23 23:02:21 MSK 2019
Add run as a phony target. Move .PHONY declarations next to
their targets.
Signed-off-by: Kir Kolyshkin <kolyshkin at gmail.com>
---
test/others/libcriu/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/others/libcriu/Makefile b/test/others/libcriu/Makefile
index d828f7e12..5289ed15a 100644
--- a/test/others/libcriu/Makefile
+++ b/test/others/libcriu/Makefile
@@ -5,9 +5,11 @@ TESTS += test_iters
TESTS += test_errno
all: $(TESTS)
+.PHONY: all
run: all
./run.sh
+.PHONY: run
define genb
$(1): $(1).o lib.o
@@ -21,6 +23,4 @@ $(foreach t, $(TESTS), $(eval $(call genb, $(t))))
clean:
rm -rf $(TESTS) $(TESTS:%=%.o) lib.o
-
.PHONY: clean
-.PHONY: all
--
2.17.1
More information about the CRIU
mailing list