[Top][All Lists]

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

Re: creation of a directory

From: Noel Yap
Subject: Re: creation of a directory
Date: Fri, 30 Jan 2004 14:17:42 -0500

Boris Kolpackov wrote:
> Hi Noel,
> > Since there is a workaround, simplifying GNU make in this respect
> > isn't worth it.
> Speaking of workaround, having the following implicit rule
> %/. :
>         @mkdir $*
> you cannot just write
> foo : bar/
> instead you will have to write
> foo : bar/.
> which is quite ugly and unnatural. It is one story to write something
> ugly in implicit rule (once) and the other to ask users of your implicit
> rule to write something ugly (many times).

I agree.

It's even uglier when you're dealing with macros:

$(FOO): $(dir $(FOO)).

NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited.

reply via email to

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