Subject: "Soft" make dependencies? Was: make build problem - BIND
To: None <>
From: Tom Ivar Helbekkmo <>
List: current-users
Date: 05/28/2001 08:38:57 writes:

> >dependall ===> usr.sbin/bind/lib
> >make: don't know how to make bn.c. Stop
> >*** Error code 2
> 	are you using UPDATE=1?  i guess you have obsolete obj/.depend.
> 	run "make cleandir" under usr.sbin/bind and you should be fine.

This happens to me, every now and then.  I've been thinking: would it
be possible to have two sorts of dependencies in make's graph, adding
a "soft" one that could optionally be used by default for dependencies
read in from a .depend file?  The soft ones would mean "if the source
exists, and is newer than the target, then remake the target".  They
would succeed (with an optional warning) in cases like this.


The basic difference is this: hackers build things, crackers break them.