|
From: | John Westing |
Subject: | Re: Make: Unexpected Behavior with Dependencies and include Statement |
Date: | Wed, 23 Sep 2015 12:15:19 -0500 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |