[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command producing several targets at once
From: |
Paul Smith |
Subject: |
Re: Command producing several targets at once |
Date: |
Wed, 26 Jul 2017 09:31:10 -0400 |
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 $<
- Command producing several targets at once, Sébastien Hinderer, 2017/07/26
- Re: Command producing several targets at once, Paul Smith, 2017/07/26
- Re: Command producing several targets at once, Sébastien Hinderer, 2017/07/26
- Re: Command producing several targets at once, Sébastien Hinderer, 2017/07/26
- Re: Command producing several targets at once,
Paul Smith <=
- Re: Command producing several targets at once, Sébastien Hinderer, 2017/07/26
- Re: Command producing several targets at once, Britton Kerin, 2017/07/26
- Re: Command producing several targets at once, Paul Smith, 2017/07/26
- Re: Command producing several targets at once, Britton Kerin, 2017/07/26
- Re: Command producing several targets at once, Paul Smith, 2017/07/26
- Re: Command producing several targets at once, Britton Kerin, 2017/07/26
- Re: Command producing several targets at once, Sébastien Hinderer, 2017/07/27
- Re: Command producing several targets at once, Stefan Monnier, 2017/07/29
Re: Command producing several targets at once, Thomas Martitz, 2017/07/26