diff options
| author | lmamane | 2007-07-16 07:55:18 +0000 |
|---|---|---|
| committer | lmamane | 2007-07-16 07:55:18 +0000 |
| commit | 6690191053baac1b43a14b012833336907485635 (patch) | |
| tree | 85b0b65066f67dd75f5716f170289e5cda2b390e | |
| parent | 89610407b332cf93181791f0877be16913cae748 (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.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.build b/Makefile.build index fdd65f9f46..e9489b0bca 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 |
