help-make
[Top][All Lists]
Advanced

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

Re: The path found by directory search!


From: Eli Zaretskii
Subject: Re: The path found by directory search!
Date: Mon, 20 Sep 2010 06:02:52 +0200

> Date: Mon, 20 Sep 2010 07:51:51 +0430
> From: ali hagigat <address@hidden>
> 
> 4.4.3 How Directory Searches are Performed
> 4. After processing the prerequisites, the target may or may not need
> to be rebuilt:
> 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.
> ---------------------------------------------------------------------------------------------------------------------------
> After processing the prerequisites and the target does not need to be
> rebuilt, every thing is finished!! and why and how the path found
> during the directory search is used? The path is used for what rule
> when the rule does not need to be processed further?

The path is used for "any prerequisite lists which contain this
target", which means other targets that depend on this target.

Example:

target1: target2

target2: foo

If Make finds that target2 does not need to be rebuilt, it uses the
path where it found `foo' for processing target1 and its
prerequisites.




reply via email to

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