[3/3] test/others/libcriu/Makefile: fix phony targets

Submitted by Kirill Kolyshkin on Jan. 23, 2019, 8:02 p.m.

Details

Message ID 20190123200221.9791-4-kolyshkin@gmail.com
State Accepted
Series "Makefile fixes and nitpicks"
Headers show

Commit Message

Kirill Kolyshkin Jan. 23, 2019, 8:02 p.m.
Add run as a phony target. Move .PHONY declarations next to
their targets.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
---
 test/others/libcriu/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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