Hello,
Is it possible to write 'generic' pattern rules? For instance:
----BEGIN----
%.bar: %.foo
cat $< >$@
file.bar: file.foo
file2.bar:
anotherfile.bar: file.foo
----END----
'file.bar' will be built thanks to the pattern rule.
'anotherfile.bar' will not be built because the pattern rule does not
match (i.e. anotherfile.foo is expected as prerequisite for the pattern
rule to be matched).
Is there a way to specify pattern rules that tell "here is how to build
a *.bar file given any *.foo file"?
Regards,
--
Marc
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make