Commit e52add94 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Andrei Vagin

test/make: Include .d files

Include deps files to recompile tests when dependency has changed.

Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Reported-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarDmitry Safonov <dima@arista.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent c12409fc
...@@ -16,6 +16,7 @@ LDLIBS := $(LIB) ...@@ -16,6 +16,7 @@ LDLIBS := $(LIB)
TARGETS := $(LIB) $(BIN) TARGETS := $(LIB) $(BIN)
include ../Makefile.inc include ../Makefile.inc
include $(DEP)
all: $(TARGETS) all: $(TARGETS)
.PHONY: all .PHONY: all
......
...@@ -364,6 +364,8 @@ OUT = $(TST:%=%.out) ...@@ -364,6 +364,8 @@ OUT = $(TST:%=%.out)
STATE = $(TST_STATE:%=%.state) STATE = $(TST_STATE:%=%.state)
STATE_OUT = $(TST_STATE:%=%.out) STATE_OUT = $(TST_STATE:%=%.out)
include $(DEP)
all: $(TST) criu-rtc.so all: $(TST) criu-rtc.so
install: all install: all
.PHONY: all install .PHONY: all install
......
...@@ -38,6 +38,7 @@ PID = $(TST:%=%.pid) ...@@ -38,6 +38,7 @@ PID = $(TST:%=%.pid)
OUT = $(TST:%=%.out) OUT = $(TST:%=%.out)
include ../Makefile.inc include ../Makefile.inc
include $(DEP)
all: $(TST) all: $(TST)
install: all install: 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