On 2011-05-01 23:02, Andrew Gallagher wrote: > [...] > foo.o: foo.c > gcc -c -MD ... > > foo.o: foo.d
.d files aren't supposed to be dependencies, so I'd argue that such a Makefile is badly written. However, letting ccache update mtime of the .d file before the .o file couldn't hurt, so that would be OK with me. > I think the fix is pretty simple (I've been adding an > "update_mtime(output_obj);" if a dep file is produce). What would be > the best way to send diffs/patches for bug fixes like this? You can either send the patch to this list or create a bug report; see <http://ccache.samba.org/bugs.html>. -- Joel _______________________________________________ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache