Subject: "Soft" make dependencies? Was: make build problem - BIND
To: None <itojun@iijlab.net>
From: Tom Ivar Helbekkmo <tih@kpnQwest.no>
List: current-users
Date: 05/28/2001 08:38:57
itojun@iijlab.net 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.

Comments?

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