[ale] Using dependency files with GCC

John Mills johnmills at speakeasy.net
Tue Aug 15 08:02:09 EDT 2006


JK -

Thanks. That was the trick alright. I stareted out using 'cpp' syntax:  
'#include...' that 'make' didn't like. Gor rid of the '#' and it worked.

 - JMM

On Mon, 14 Aug 2006, JK wrote:

> John Mills wrote:

> > My rule produces a healthy looking dependency file, but I don't see how to
> > instruct 'make' to use the dependency rules in the generated file.

> > How can I pull in the dependency file so the rules are applied in a build? 
 
> Putting the line:
 
> include <file.with.dependencies>
 
> in your Makefile should do it.




More information about the Ale mailing list