So when an include make file gets modified make restarts the original make
file?

For efficiency I don't want to always create the dependencies, that's why I
did it this way. Is there anyway to disable remaking?

On Wed, Sep 23, 2015 at 12:13 PM, Paul Smith <psm...@gnu.org> wrote:

> On Wed, 2015-09-23 at 13:06 -0400, Mike Shal wrote:
> > Though normally you don't want to include .d files as targets in your
> > Makefile. Just generate them as a side-effect of compilation with -MMD
> > or whatever in gcc and then include them, and you can avoid the whole
> > issue.
>
> For an example and detailed explanation see:
> http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
>
>
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to