
Compilation under Mac OS X
==========================

Prerequisites
-------------

The developper tools must be installed (available on all Mac OS X install
CD/DVD).
MacPort (http://www.macports.org) or Fink (http://www.finkproject.org/)
must be installed.


1 - CMake
---------

Install CMake via MacPort
$ sudo port install cmake


2 - Allegro
-----------

Install Allegro via MacPort
$ sudo port install allegro


3 - AllegroGL
-------------

Download AllegroGL : http://allegrogl.sourceforge.net/wiki/Download
Edit the makefile make/makefile.osx :
  Replace 
    INCLUDE_PATHS = $(addprefix -I, $(INCLUDE_DIR))
    by
    INCLUDE_PATHS = $(addprefix -I, $(INCLUDE_DIR)) -I/opt/sw/local/include -I/opt/local/include
Compile AllegroGL :
$ ./fix.sh macosx  && make && sudo make install


4 - TA3D
--------

$ cmake . && make
if you want more verbosity, try :
$ cmake . && VERBOSE=1 make

Note: libfmodex.dylib is required

