[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] ReSolved: Using dependency files with GCC



ALErs -

I found an example in my files. Correct syntax turned out to be adding to
the end of Makefile:

include <name_of_dependency_file>

On Sat, 12 Aug 2006, John Mills wrote:

> I'm bringing a legacy 'Makefile' up to date, in particular replacing
> 'makedepend' with 'gcc -MM' to create a dependency file: 'depend.mak'.
 
> How can I pull in the dependency file so the rules are applied in a build? 

 - John Mills
   john.m.mills at alum.mit.edu