test/others/libcriu/Makefile: fix phony targets

Add run as a phony target. Move .PHONY declarations next to
their targets.

Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
Kir Kolyshkin 2019-01-23 12:02:21 -08:00 committed by Andrei Vagin
parent 6fe7e9eab4
commit b368e66165

View file

@ -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