Running the binaries
====================
To run the pre-built samples, use the appropriate file in the 'run' folder:
	run-lin64.sh
	run-win32.bat
	rube-sdl2-mac

Shared (dynamic link) libraries are included for Linux and Windows.
For Mac, you will need to have the dylib files on your system already.


Building the source
===================
The sample source code was written for Box2D 2.3.0 and SDL 2.0.5.
To build these samples you will need to have the SDL2 headers and libs 
somewhere on your system, along with these supporting libraries:
	SDL2_ttf
	SDL2_image
	SDL2_mixer
	SDL2_gfx

There is a cmake file included in the 'src' folder which you can use to build with 
cmake on Linux and Mac. Edit the top part of CMakeLists.txt to set the locations of 
your Box2D and SDL2.

The most convenient way to build is to create a new folder, for example you might
create a folder called 'build' alongside the 'src' folder. You would then run cmake
from inside the 'build' folder, giving the src folder as the target, like this:
	cmake ../src

To link the program successfully you will first need to have Box2D built. You can build
Box2D in a similar manner by running cmake from inside the Box2D/Build folder like this:
	cmake ..
...which will place the build lib file in the location expected by the main makefile.

The cmake file is set up to place the generated binary in the 'run' folder (or inside
the app bundle for Mac) overwriting the existing ones.

