[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Using dependency files with GCC
- Subject: [ale] Using dependency files with GCC
- From: johnmills at speakeasy.net (John Mills)
- Date: Tue, 15 Aug 2006 07:02:09 -0500 (EST)
- In-reply-to: <[email protected]>
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.