bug-make
[Top][All Lists]
Advanced

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

Re: Make: Unexpected Behavior with Dependencies and include Statement


From: John Westing
Subject: Re: Make: Unexpected Behavior with Dependencies and include Statement
Date: Wed, 23 Sep 2015 12:15:19 -0500

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 <address@hidden> 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/



reply via email to

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