Re: multiple % in target Pattern Rules ?
DSB <[email protected]> Sat, 11 Oct 2025 18:52:35 -0400
| Newsgroups | gmane.comp.gnu.make.general |
|---|---|
| Message-ID | <CACUHbYNKUmbPu-9t_6WbnnASYUBMLmR1JC9V9DE0oqm=d3o7mw@mail.gmail.com> |
Section 10.5.1 ( https://www.gnu.org/software/make/manual/make.html#Pattern-Rules:~:text=3D1= 0.5.1-,Introduction%20to%20Pattern%20Rules,-A%20pattern%20rule ): "A pattern rule contains the character =E2=80=98%=E2=80=99 (exactly one of = them) in the target" On Sat, Oct 11, 2025 at 10:39=E2=80=AFAM Pete Bennewitz via Users list for = the GNU implementation of make <[email protected]> wrote: > Dear all, > > should the following work , please see attached example makefile - and I'= m > overlooking something ? > > 'make x.bar' works > 'make d/x.foo' works too, and the dir is created before the touch, as > planned. > > but 'make x/x.foo' doesn't, even if the subdir exists. > > So, using % twice in a target doesn't work - or I'm overlooking the > obvious ? > > TIA1e6, Pete