[CRIU] [PATCH 3/3] make: specify DEPS implicitly
Kinsbursky Stanislav
skinsbursky at openvz.org
Mon May 28 07:24:28 EDT 2012
Instead of using wildcard expressions like "*.c" lets implicitely specify
desired dependence files.
Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index f98359e..a0f1a0c 100644
--- a/Makefile
+++ b/Makefile
@@ -147,7 +147,7 @@ help:
$(E) ' rebuild - Force-rebuild of [*] targets'
$(E) ' test - Run zdtm test-suite'
-deps-targets := %.o %.s %.i $(PROGRAM) zdtm test-legacy
+deps-targets := $(OBJS) $(patsubst %.o,%.s,$(OBJS)) $(patsubst %.o,%.i,$(OBJS)) $(PROGRAM) zdtm test-legacy
.DEFAULT_GOAL := $(PROGRAM)
More information about the CRIU
mailing list