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 below.)

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 by hand, see the notes below about the hmake.config file.

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 hmake.config file can appear in any of several places:

    $HOME/.hmakerc
    /usr/local/lib/hmake/$MACHINE/hmake.config
    /usr/local/lib/hmake/hmake.config
These are searched for in order - the first found overrides the others. Hence, individual users can add their own Haskell systems, and particular machine architectures can offer variations from the standard system-wide config.

Of course, you don't have to use the locations /usr/local/bin and /usr/local/lib for your installation. Just use --prefix= at configuration time to reflect your preference.

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-2.03, (2001-10-02). 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-2000. Hmake interactive (hi) is (c) copyright to Malcolm Wallace, May 2000.

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: 2001-10-02
York Functional Programming Group
Malcolm.Wallace@cs.york.ac.uk