help-make
[Top][All Lists]
Advanced

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

Re: Issue with order-only-prerequisites on pattern rule


From: Paul Smith
Subject: Re: Issue with order-only-prerequisites on pattern rule
Date: Thu, 28 May 2020 14:25:34 -0400

On Thu, 2020-05-28 at 19:34 +0200, Juan Pablo Garibotti Arias wrote:
> %/ :
>     mkdir -p $@

I recommend you use "%/." as the target not "%/".  Just postfixing with
"/" may get stripped and turn this into a match-anything rule (I'm not
sure about this... there's some weird handling of trailing slashes in
targets).





reply via email to

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