Examples README
August 20, 1996
Dave Beazley
-------------------------------------------------------------

This directory contains a few examples for all of the currently
supported target languages.   This directory is a little sparse
in a few areas, but I hope it's enough to get you going.

To see how to do various odd things in SWIG, check out the Misc
directory.   For language-specific examples, go to the appropriate
language dependent directory.

How to run
----------

All of the examples rely on the file "Makefile.template" located in
the top level of the SWIG distribution.  You may have to edit this
file to get it to work (although some of it gets set automatically by
configure).  Assuming that it is set up correctly, you should be able
to simply type "make" in an appropriate directory.

Note 
----
The SWIG examples are extremely rough at this point.  You may have to
play around with the Makefile in order to get things to compile
properly on your machine.   I'm working on coming up with a better
approach, but these things take time....

Changes (since 1.0 Beta 3)
--------------------------

1.  More examples (in Python and Perl5 in particular)
2.  Some more C++ examples.
3.  Fixed all of the makefiles to rely on a common makefile.
4.  Brought the examples up to SWIG 1.0 Final compatibility 
    (some still used obsolete features from 0.1alpha--yikes!).
4.  Minor cleanup and lots of little bug fixes.

Changes (since 1.0 Beta 2)
--------------------------
1. Added c++ directory
2. Added OpenGL directory
3. Added MATLAB example.
4. Changed examples to use "swig" command instead of "wrap"






