> Date: Tue, 21 Sep 2010 22:48:22 -0700 > From: Philip Guenther <[email protected]> > Cc: [email protected] > > Why should the vpath for one target (preq1) apply to a different > target (di2/preq2)?
Because of the excerpt from the manual which started the thread which led to this one? See http://lists.gnu.org/archive/html/help-make/2010-09/msg00086.html where this verbiage (from "Search Algorithm") was quoted: a. If the target does not need to be rebuilt, the path to the file found during directory search is used for any prerequisite lists which contain this target. In short, if make doesn’t need to rebuild the target then you use the path found via directory search. This seems to fit the use case, because the prerequisite list of all5 includes preq1, which was found through vpath. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
