From d1df3f60f9c414d5d380487d6c243c164f2903c0 Mon Sep 17 00:00:00 2001 From: Stanislav Kinsbursky Date: Tue, 17 Jan 2012 16:08:22 +0300 Subject: [PATCH] make: cleanup deps files usage Objects does not depend on dep files. Dep files provide rules to build object files. Thus we need to include dep files. This also leads make to rebuild dep files (if required) before an other targets. Signed-off-by: Stanislav Kinsbursky Acked-by: Pavel Emelyanov Signed-off-by: Cyrill Gorcunov --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f64c1eb0a..da77864f9 100644 --- a/Makefile +++ b/Makefile @@ -111,7 +111,6 @@ $(HEAD-BLOB-GEN): $(HEAD-BIN) $(DEPS-BLOB) $(HEAD-BIN) > parasite-blob.h $(Q) sync -$(OBJS): $(DEPS) $(HEAD-BLOB-GEN) %.o: %.c $(E) " CC " $@ $(Q) $(CC) -c $(CFLAGS) $< -o $@ @@ -163,3 +162,5 @@ cscope: $(Q) $(FIND) . -name '*.[hcS]' -print > cscope.files $(Q) $(CSCOPE) -bkqu .PHONY: cscope + +-include $(DEPS)