help-make
[Top][All Lists]
Advanced

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

Re: directory search fails!


From: Eli Zaretskii
Subject: Re: directory search fails!
Date: Wed, 22 Sep 2010 13:41:28 +0200

> From: Paul Smith <address@hidden>
> Cc: ali hagigat <address@hidden>, address@hidden
> Date: Wed, 22 Sep 2010 07:06:12 -0400
> 
> > This means that if the Makefile uses a target named "target1", which
> > is found by directory search at /foo/bar/baz/target1, then Make will
> > use "/foo/bar/baz/target1" in all places where the Makefile mentions
> > "target1".  At least this is my understanding of the manual's text.
> 
> No, not "in all places where the Makefile mentions" it.
> 
> Only in places where make supplies the name; in particular expansions of
> automatic variables like $< etc.
> 
> Make does not go through the recipes, etc. and replace "target1" with
> "/foo/bar/baz/target1".

But, since the same directory search will find "target1" in the same
place over and over again, the net effect is indistinguishable, right?



reply via email to

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