Hi! <https://www.gnu.org/software/make/manual/html_node/Static-Usage.html>
The documentation of static pattern rules says that each pattern *normally* contains the character '%' just once. That wording seems to allow the case of several of those. I experimented to see if it is really supported, and what the semantics are, since the documentation doesn't really say how such a thing would behave. It seems it doesn't really work, though. $ cat Makefile .PHONY: all all: foo.3.bar %:; echo $@ foo.3.bar: %.3.%: %.5.%; echo $@ $ make Makefile:6: target 'foo.3.bar' doesn't match the target pattern echo foo.3.bar foo.3.bar Am I missing something? Is something like that allowed anyhow? Cheers, Alex -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
OpenPGP_signature
Description: OpenPGP digital signature