aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar lmamane <lmamane@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-07-16 07:55:18 +0000
committerGravatar lmamane <lmamane@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-07-16 07:55:18 +0000
commit6690191053baac1b43a14b012833336907485635 (patch)
tree85b0b65066f67dd75f5716f170289e5cda2b390e
parent89610407b332cf93181791f0877be16913cae748 (diff)
Makefile: in C, .d files need to depend on the same as the .o file
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10005 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--Makefile.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.build b/Makefile.build
index fdd65f9f4..e9489b0bc 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -859,7 +859,7 @@ endif
# to actually depend on the header files.
%.c.d: %.c
$(SHOW)'CCDEP $<'
- $(HIDE)$(CC) -MM -MG $(CFLAGS) $(CINCLUDES) $< > $@
+ $(HIDE)$(CC) -MM -MG $(CFLAGS) $(CINCLUDES) $< | sed 's/\(.*\)\.o[[:space:]]*:/\1.o \1.c.d:/' > $@
.PRECIOUS: %.ml %.mli %.d %.ml4.d kernel/copcodes.ml