diff options
Diffstat (limited to 'Makefile.build')
-rw-r--r-- | Makefile.build | 2 |
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 |