RE: Building Programs Again

2001-05-28 Thread Simon Marlow
> 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 -

RE: Building Programs

2001-05-24 Thread Malcolm Wallace
> 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

RE: Building Programs

2001-05-24 Thread Simon Peyton-Jones
It depends on which implementation you have. hmake is good, and is independent of implementation. ghc 5.0 has a make system built in, so you can say ghc --make Main to build your program. Or ghc --interactive Main to run it interactively. Hugs also follows module dependencie