Using --make with -odir and hierarchical modules

Malcolm Wallace
Wed, 15 Jan 2003 16:53:07 +0000

Martin Norbäck <> writes:

> The GHC manual needs to specify what happens when you use -odir and
> hierarchical modules with --make.

It may be of interest to note that hmake currently uses solution 2 below.

> Solution 2: files put in -odir are put in directories (files will end up
> in Program/output/Bar/Module.o and Program/output/Foo/Module.o)
> This is also a slight change in semantics, since files are put in
> directories. May affect Makefiles that does "ar output/*.o" or similar.