help-make
[Top][All Lists]
Advanced

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

Re: Dependencies


From: Greg Chicares
Subject: Re: Dependencies
Date: Wed, 03 Jan 2007 15:11:31 +0000
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

On 2007-1-3 14:52 UTC, Uri Shkolnik wrote:
> 
> BUT, when modifying an included header file (*.h) the Make does not detect it
> and that causes a major problem (I need to forcedly rebuild the entire 
> project).
> 
> The relevant part of my makefile is attached below.
[snip makefile]

It looks like you're creating a '.d' file for each source file,
when target MakeDep is made. Typically you'd do something like
  -include *.d
so that 'make' knows about them.

Here's a discussion of dependency-management techniques:
  http://make.paulandlesley.org/autodep.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]