From b368e66165ab35f0ecffad44ffe4abf2193802ba Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 23 Jan 2019 12:02:21 -0800 Subject: [PATCH] test/others/libcriu/Makefile: fix phony targets Add run as a phony target. Move .PHONY declarations next to their targets. Reviewed-by: Cyrill Gorcunov Signed-off-by: Kir Kolyshkin Signed-off-by: Andrei Vagin --- 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