help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command producing several targets at once


From: Sébastien Hinderer
Subject: Re: Command producing several targets at once
Date: Wed, 26 Jul 2017 15:21:38 +0200

Sébastien Hinderer (2017/07/26 15:18 +0200):
> Oh great! I was not aware of this.
> 
> So am I correctin assuming that something like
> 
> parsers := foo.mly bar.mly baz.mly
> 
> $(parsers): %.ml %.mli
>             ocamlyacc $<
> 
> would work the expected way?

Sorry, I meant:

parsers := foo.mly bar.mly baz.mly
 
$(parsers): %.ml %.mli: %.mly
            ocamlyacc $<

Sébastien.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]