> I am going to install hmake and upgrade to ghc 5 but in the
> meantime I decided to use make.
>
> I am puzzled however. Presumably building a module that
> imports a module needs the .hi file and therefore the
> makefile should be something like this:
>
> Tagsv1.o : Tagsv1.hs
> ghc -
I am going to install hmake and upgrade to ghc 5 but in the meantime I decided to use
make.
I am puzzled however. Presumably building a module that imports a module needs the .hi
file and therefore the makefile should be something like this:
Tagsv1.o : Tagsv1.hs
ghc -c Tagsv1.hs -packa
> What's the recommended way of building a system consisting of
> many Haskell modules? Should I use hmake, make or is there
> some other preferred mechanism in the Haskell world?
As Simon PJ already mentioned, hmake is entirely platform independent,
so if there is any likelihood that you may nee
dependencies automatically.
hbc had a similar mechanism I think.
Simon
| -Original Message-
| From: Steinitz, Dominic J
| [mailto:[EMAIL PROTECTED]]
| Sent: 24 May 2001 10:46
| To: haskell
| Subject: Building Programs
|
|
| What's the recommended way of building a system consisti
What's the recommended way of building a system consisting of many Haskell modules?
Should I use hmake, make or is there some other preferred mechanism in the Haskell
world?
Dominic.
-
21st century