Default name of target executable

Tomasz Zielonka tomasz.zielonka at
Tue Oct 11 01:32:40 EDT 2005

On 10/10/05, Stephane Bortzmeyer <stephane at> wrote:
> On Mon, Oct 10, 2005 at 11:40:21AM +0200,
>  Wolfgang Jeltsch <wolfgang at> wrote
>  a message of 28 lines which said:
> > Why don't you use a small shell script for this?
> Or better, a rule in the Makefile, with suffixes:
> %: %.hs
>         ghc --make -o $@ $^

How about module dependencies? You would have to
handle them in the Makefile (ghc -M?). I'm not saying it's
difficult, but it's enough hassle that in case of small "scripts"
I would still prefer to use ghc --make directly.

Best regards

More information about the Glasgow-haskell-users mailing list