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).