[ale] ReSolved: Using dependency files with GCC

John Mills johnmills at speakeasy.net
Sun Aug 13 09:34:13 EDT 2006


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




More information about the Ale mailing list