##############################################################################
## Unix ######################################################################
##############################################################################

Under *nix, SCons build system is used. You will also need Simple Directmedia
Layer (SDL), SDL_Image, OpenGL, OpenGL Extension Wrangler (GLEW), libpng and
Freetype installed and searchable from path.

To compile, type:

'scons'

This will compile the library and the test program into subdirectory build.

To install the library (test program will not be installed), type:

'scons install'

This will copy headers and library under /usr/local. You will most probably
need root privileges for this.

To remove installation, type:

'scons -c install'

This will remove all installed files.

Note, SCons does NOT handle environment reading correctly on behalf of the
-D (define) flags. To circumvent this, I wrote a patch that can be seen in the
Environment.py.diff distributed along this. Apply it to your SCons
Environment.py and you're free to go.

If the library fails to compile, try adding the library and header path
arguments to CFLAGS, CXXFLAGS and LDFLAGS. On some systems SCons may still
fail to locate the libraries, but the build script will still try to compile
disregarding errors. If everything else fails, try to link by hand.

##############################################################################
## Microsoft Visual Studio ###################################################
##############################################################################

The project file included is generated with MSVS 2003. If your version
differs, heed the following advice.

- Change the output type to STATIC LIBRARY (.lib) to recieve the appropriate
  library. You may also use the normal application output to recieve a test
  application.
- Switch the code generation -option to MULTI-THREADED DLL.
- Use these libraries: opengl32.lib glu32.lib glut32.lib SDL.lib SDLmain.lib
  SDL_image.lib freetype.lib
- Use these compiler flags: HAVE_OSTREAM, LIBFHI_SDL, LIBFHI_OPENGL and
  LIBFHI_DEBUG (the last may be omitted in the future)
- After the program is generated in the Release -folder. You will need these
  files to run it;
	zlib1.dll - compression library
	freetype6.dll - font library
	sdl.dll - Simple Directmedia Layer
