Mail Archives: djgpp/1995/11/26/11:40:32
> : gcc will automatically generate dependencies as it compiles, and make
> : will automatically use any that gcc has generated. This is much more
> : reliable than using makedepend.
>
> But requires you to run make twice to be sure everything is built.
Actually, it doesn't, because the first time through the objects don't
exist, so everything gets built anyway. After that, if any of the
dependencies change, then one of the EXISTING dependencies must have
also changed, in order to change the #include, so the object will get
rebuilt because of that change anyway.
- Raw text -