Commit b368e661 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Andrei Vagin

test/others/libcriu/Makefile: fix phony targets

Add run as a phony target. Move .PHONY declarations next to
their targets.
Reviewed-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: 's avatarKir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@gmail.com>
parent 6fe7e9ea
...@@ -5,9 +5,11 @@ TESTS += test_iters ...@@ -5,9 +5,11 @@ TESTS += test_iters
TESTS += test_errno TESTS += test_errno
all: $(TESTS) all: $(TESTS)
.PHONY: all
run: all run: all
./run.sh ./run.sh
.PHONY: run
define genb define genb
$(1): $(1).o lib.o $(1): $(1).o lib.o
...@@ -21,6 +23,4 @@ $(foreach t, $(TESTS), $(eval $(call genb, $(t)))) ...@@ -21,6 +23,4 @@ $(foreach t, $(TESTS), $(eval $(call genb, $(t))))
clean: clean:
rm -rf $(TESTS) $(TESTS:%=%.o) lib.o rm -rf $(TESTS) $(TESTS:%=%.o) lib.o
.PHONY: clean .PHONY: clean
.PHONY: all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment