[CRIU] [PATCH 1/3] make: remove OBJ on BLOBS dependence

Kinsbursky Stanislav skinsbursky at openvz.org
Mon May 28 07:24:13 EDT 2012


This dependence is redundant, because Makefile itself depends on DEPS, which
it turn depends on BLOBS.

Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>

---
 Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f776f49..22d9475 100644
--- a/Makefile
+++ b/Makefile
@@ -75,11 +75,13 @@ all: $(PROGRAM)
 	$(E) "  CC      " $@
 	$(Q) $(CC) -S $(CFLAGS) -fverbose-asm $< -o $@
 
-$(PROGRAM): $(OBJS) | $(SYS-OBJ) $(PIE-GEN)
+$(PROGRAM): $(OBJS)
 	$(E) "  LINK    " $@
 	$(Q) $(CC) $(CFLAGS) $(OBJS) $(LIBS) $(SYS-OBJ) -o $@
 
-%.d: %.c | $(SYS-OBJ) $(PIE-GEN)
+$(DEPS): $(SYS-OBJ) $(PIE-GEN)
+
+%.d: %.c
 	$(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@
 
 test-legacy: $(PROGRAM)



More information about the CRIU mailing list