[FFmpeg-cvslog] r19609 - in trunk: common.mak configure

Uoti Urpala uoti.urpala
Sun Aug 9 16:05:27 CEST 2009


On Sat, 2009-08-08 at 20:27 +0200, mru wrote:
> Log:
> Generate dependencies while compiling if supported by compiler

> +    CC_DEPFLAGS='-MMD'

You should add -MP here. Without it 'make' will fail when you rename
headers because the .d file has a now unsatisfiable dependency on the
old header name. With -MP the compiler will add a phony target, so a
"missing" header just triggers a recompile that will either update the
dependencies or fail if it's a real error.




More information about the ffmpeg-cvslog mailing list