multiple % in target Pattern Rules ?
Pete Bennewitz via Users list for the GNU implementation of make <[email protected]> Sat, 11 Oct 2025 10:30:16 +0200
| Newsgroups | gmane.comp.gnu.make.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------oxiQmCiuD0pGzgR30BPHdlax Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------oxiQmCiuD0pGzgR30BPHdlax Content-Type: text/plain; charset=UTF-8; name="makefile.test" Content-Disposition: attachment; filename="makefile.test" Content-Transfer-Encoding: base64 CiUvOgoJbWtkaXIgJEAKCiUvJS5mb286ICUvCgl0b3VjaCAkQAoKZC8lLmZvbzogJS8KCXRv dWNoICRACgolLmJhcjoKCXRvdWNoICRACg== --------------oxiQmCiuD0pGzgR30BPHdlax--