help-make
[Top][All Lists]
Advanced

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

Not rebuilding dependencies


From: Jason Elbaum
Subject: Not rebuilding dependencies
Date: Thu, 16 Aug 2001 10:49:39 +0300

Is it possible to define a make rule such that the target will be
(re)built if the dependency has changed, but no attempt will be made to
rebuild the dependency? That is, in:

a: b

If b has been changed, a will be rebuilt from it. If b has not been
changed (or doesn't exist), no action will be taken even if b's
dependencies have changed.


Can this only be done by putting this rule in a separate makefile?


Thanks,


Jason Elbaum
address@hidden



reply via email to

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