Hi Scott,

Thanks for your kind comment.

By the way, is it possible to use ghc --make for my
project including some external libraries and tools
such as happy, Parsec and haskell stub calling C
library?

I also tried out cabal to build my project but it seems
quite complicated to use.

Best Regards.

On Fri, Dec 28, 2012 at 2:08 PM, Scott Lawrence <[email protected]> wrote:

> On Fri, 28 Dec 2012, xuan bach wrote:
>
>  Hi everyone,
>> I'm a newbie in Haskell.
>>
>> I'm wondering that if there is any tool support
>> creating Makefile for Haskell project like Ocamlbuild
>> for Ocaml project?
>>
>
> Since ghc handles dependencies automatically, I usually just do,
>
>         all:
>                 ghc --make myprog
>
> And then make sure `myprog.hs` is your Main module.
>
>
>> Thank you,
>> Regards.
>>
>> --
>> *Le Dinh Xuan Bach*
>> *Tel: 01234711869 or +65 86967149
>> *
>> *Email: [email protected]
>>
>> School of Information and Communication,
>> *
>> *Hanoi University of Science and Technology
>>
>> ------------------------------**------------------------------**---------
>> レ。ディン。スアン。バイック
>> 電話番号:01234711869 or +65 86967149
>> メール:      [email protected]
>> *
>>
>>
> --
> Scott Lawrence




-- 
*Le Dinh Xuan Bach*
*Tel: 01234711869 or +65 86967149
*
*Email: [email protected]
School of Information and Communication,
*
*Hanoi University of Science and Technology
---------------------------------------------------------------------
レ。ディン。スアン。バイック
電話番号:01234711869 or +65 86967149
メール:      [email protected]
*
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to