help-make
[Top][All Lists]
Advanced

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

RE: how make interprets directory which are prerequisites


From: Dave Korn
Subject: RE: how make interprets directory which are prerequisites
Date: Thu, 18 Jan 2007 12:24:21 -0000

On 18 January 2007 09:35, sharan basappa wrote:

> When a directory itself is given as a prerequisite, how does make intrepret
> it ..


  Same way as anything else: it checks the timestamp, and if it's newer than
the target then the target needs rebuilding.

> in the context of a recursive make, this is the example I see in a book ..
> It is simple phony targets that are doing the trick or make has special
> way to handle directories ..

  We had a thread about this just last week, and John Graham-Cumming posted a
link to an article he wrote all about building directories in make...

http://www.cmcrossroads.com/content/view/6936/120/

  Highly recommended reading!

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....





reply via email to

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