hmake - a make tool for Haskell programs


What is hmake?

hmake is a compilation manager for Haskell programs. See hmake.html for more details.

What is hmake interactive?

hmake interactive, or hi for short, is an interactive program development environment for Haskell, rather like Hugs. See interactive.html for more details.

Download

Download the hmake (including hi) sources from ftp://ftp.cs.york.ac.uk/pub/haskell/hmake/

(Note: If you have the nhc98 compiler, then you already have hmake. The standard configuration and build process for the compiler should have done everything for you. However, if you installed ghc, hbc, etc, after nhc98, you will probably need to update the config file for hmake. See hmake-config.html.)

Configure, compile, and install

  $ ./configure  --prefix=/my/installation
  $ make
  $ make install

Configuration options

Use

  $ configure --help
to 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 later by hand, use the hmake-config utility.

Notes

`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.

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/$MACHINE
Normally, a user will simply use the system-wide hmakerc. If they use hmake-config to make any customisations, a personal hmakerc file will be created for them. (Only the person who installs hmake can change the system-wide hmakerc).

Bug Reports

Please send bug reports, bug fixes, and suggestions for improvements to Malcolm.Wallace@cs.york.ac.uk

Version and Change Log

Current version is hmake-3.02 (date 2002-03-15). See changes.html for the history of versions, bugfixes, and other updates.

Copyright

The core of the hmake tool is (c) copyright to Thomas Hallgren, 1991-1997. (Code is incorporated from the earlier tools hbcmake and nhc13make.) Many additions and modifications to hmake are (c) copyright to Malcolm Wallace, 1998-2002. Hmake interactive (hi) is (c) copyright to Malcolm Wallace, 2000-2002.

You may re-distribute or modify this software, but you must retain this copyright notice.


The latest updates to this software are available on the WWW from http://www.cs.york.ac.uk/fp/hmake/

Information last updated: 2002-03-13
York Functional Programming Group
Malcolm.Wallace@cs.york.ac.uk