hmake - a make tool for Haskell programs
What is hmake?
The current version is hmake-3.14 (date 2008-05-21).
The previous version was hmake-3.13 (date 2006-11-01).
See changes.html for the full history of versions, bugfixes, and other updates.
Currently known bugs are listed in bugs.html.
Download the full hmake sources from
If you're running the unstable version of Debian GNU/Linux system, you can download and install hmake with a command like apt-get install hmake, or download the package file from: http://ftp.debian.org/debian/pool/main/h/hmake/ (The package is not yet available for the stable version of Debian.)
(Note: If you have the nhc98 compiler, then you already have some version of hmake. However, if you installed another compiler after nhc98, you will probably need to run hmake-config to add the new compiler to hmake's database. Also, it is perfectly safe to download a newer version of hmake and install it on top of the version that came with nhc98.)
$ ./configure --prefix=/my/installation $ make $ make install
$ configure --helpto discover what options you can change at configuration time. The configuration process actually does quite a good job of detecting what Haskell compilers you have, where they live, and anything special they might need. However, should you need to change anything by hand, after installation, use the hmake-config utility.
`harch' is a little script for determining your processor/OS combination. It is supplied because many sites have heterogeneous networks of machines all accessing a common filespace. You only need to install one copy of the `hmake' script, which uses `harch' to select the correct executables for any particular machine.
For hi to work on the Windows/Cygwin platform, you must export the SHELL environment variable before starting the interpreter.
The system-wide hmakerc configuration file lives in:
/usr/local/lib/hmake/$MACHINE/hmakerc(Of course, you don't have to use the root location /usr/local for your installation. Just use --prefix= at configuration time to reflect your preference.)
A personal hmakerc configuration file can live in:
$HOME/.hmakerc/$MACHINENormally, a user will simply use the system-wide hmakerc. If you want to make any customisations, for instance to add a new compiler or change the default, you first need to create a personal hmakerc file with hmake-config new. Only the person who installs hmake can change the system-wide hmakerc.
Please send bug reports, bug fixes, and suggestions for improvements to Malcolm.Wallace@me.com
hmake is based on code from hbcmake and nhc13make,
which are both
You may use, re-distribute, or modify this software under the terms of this licence.
Some library code is incorporated from cpphs, which is © copyright to Malcolm Wallace, 2004-2006, and distributed under a separate licence, the LGPL.
Runhs is © copyright to Malcolm Wallace, 2005, and is licensed under the GPL.
Information last updated: 21st May 2008