Commit 4131f47d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

make: Rebuild objects if headers are changed

At moment no-deps-targets is empty thus changes
in headers do not cause correspond source files
to be rebuilt. Fix it.
Reported-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 933606ee
......@@ -200,6 +200,8 @@ help:
$(E) ' test - Run zdtm test-suite'
.PHONY: help
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
deps-targets := %.o %.s %.i
ifeq ($(filter deps-targets, $(MAKECMDGOALS)),)
-include $(DEPS)
endif
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