[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pruning of dependencies
From: |
Paul Smith |
Subject: |
Re: Pruning of dependencies |
Date: |
Fri, 11 May 2007 08:31:56 -0400 |
On Tue, 2007-05-01 at 08:41 -0700, Hiebert, Darren (MS) wrote:
> What are the reasons that dependencies are pruned when evaluating
> whether to build a target?
Hi Darren;
Pruning happens when make thinks that it has already evaluated those
targets and determined that they are not rebuildable, AND make has not
run any rules so that their state could be changed since they were last
examined. It's a way to short-circuit what can be a long, complex
computation.
Without seeing your makefile it's hard to tell why your targets might be
considered prunable when they shouldn't be.