[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: how make concludes that target is out of date
From: |
Dave Korn |
Subject: |
RE: how make concludes that target is out of date |
Date: |
Fri, 1 Jun 2007 14:17:48 +0100 |
On 01 June 2007 13:43, sharan basappa wrote:
> Thanks a lot Dave, but I have some questions based on your answers ..
>
> You mention that target is always a file, but there are situations where I
> might
> use make to simply execute shell commands. In such situations I might have
> many low level rules that basically execute shell commands and I might
> build more abstract rules using these low level rules. In such cases, the
> leaf rules
> might not have prereqs, but rest of the rules will have target and prereqs
> and
> none of them might be actual files ..
The answer to this question is in the manual. Read about the .PHONY target.
cheers,
DaveK
--
Can't think of a witty .sigline today....