Build instructions
==================

ReSCAL package comprises several programs, located in rescal, 
genesis and regenesis directories.

It has a standard build procedure. From the current directory, type 
the following commands:

./configure
make

Needed libraries are glib-2.0, gtk+-2.0, gdk-pixbuf, pthread and gd2.


Compiling on Ubuntu
-------------------
If you wish to compile on a recent Ubuntu distribution, make sure 
that the packages libgd2-xpm-dev and libgtk2.0-dev are already 
installed.


Compiling on MacOS X
--------------------
On MacOS X, needed packages are named pkgconfig, gtk2 and gd2. Then
the first step of the build procedure should be changed into
CFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' ./configure 


Alternative procedure
---------------------
You may try to use the custom makefiles located in each source 
directory, by typing:
cd <source_dir>
make -f makefile.default

At least, we suggest to do so on Cygwin !
If errors still occur, check the variables in makefile.default.


