help-make
[Top][All Lists]
Advanced

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

Re: directory search fails!


From: Paul Smith
Subject: Re: directory search fails!
Date: Wed, 22 Sep 2010 08:23:56 -0400

On Wed, 2010-09-22 at 15:12 +0330, ali hagigat wrote:
> > Make does not go through the recipes, etc. and replace "target1" with
> > "/foo/bar/baz/target1".
> 
> Thank you Paul for the explanations. So Make does not go through the
> recipes, etc. and replace "target1" with "/foo/bar/baz/target1" but $<
> will be replaced with /foo/bar/baz/target1?!!

Exactly.

> $< is not used inside a recipe? So Make goes through the recipes! 

You cannot read just one half of my sentence and ignore the other half.
I did not say make does not go through the recipes, full stop.
Certainly make goes through recipes, to expand variable references.

I said it doesn't go through the recipes _AND_ replace "target1" with
"/foo/bar/baz/target1".  Together, these two statements are not true.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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