On Tue, 7 Dec 2004, Brian Smith wrote:

> FWIW, I use a directory structure like:
>     src/       source code
>     build//   intermediate files (.hi, .o)
>     dist/      deliverables
> I execute GHC using:
>     ghc --make Main -isrc -hidir build -odir build -o dist/program
> As a result, I never have any non-source files mixed in with the
> source files. So, I think what you want is possible today.

The difference is that for Modula-3 the same effect is achieved by e.g.
  m3build
 or
  cm3
 that is, I never called the compiler but always used the M3 build system.
Would be nice to have this with Haskell, too. Maybe 'hmake' and Cabal can
help here? 

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to