On Wed, 2017-07-26 at 15:21 +0200, Sébastien Hinderer wrote:
> Sorry, I meant:
> 
> parsers := foo.mly bar.mly baz.mly
>  
> $(parsers): %.ml %.mli: %.mly%.ml %.mli: %.mly
>             ocamlyacc $<

No.  That's a static pattern rule.  You can't get this multiple targets
built with a single recipe feature with a static pattern rule, only with
normal pattern rules.

Just write it as I put in my email:

  %.ml %.mli: %.mly
          ocamlyacc $<

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to