mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-04 07:43:23 +00:00
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:
parent
6fe7e9eab4
commit
b368e66165
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue