help-make
[Top][All Lists]
Advanced

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

Re: exception to Paul's Second Rule?


From: Noel Yap
Subject: Re: exception to Paul's Second Rule?
Date: Thu, 16 Oct 2003 18:23:18 -0400

"Paul D. Smith" wrote:
> 
> %% "Robert Mecklenburg" <address@hidden> writes:
> 
>   >> In this case you can just use $*.
> 
>   rm> I don't understand.
> 
> You're right; that was my brain on drugs.

I've simplified the rule to:

.PRECIOUS: %/../...
%/../...:
        mkdir -p $(dir $*)  &&  : >> $(dir $*)$(@F)

which resolves to the exact same thing the previous complex expression did.

Thanks,
Noel
-- 
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]