IMPORTANT NOTE: SDL and Freetype libs are not shipped with Teeworlds 0.7.x. You must download them separately.
Q: What is bam?
Bam is the build system made by matricks used in Teeworlds.
xcode-select --install. brew install sdl2brew install freetypeteeworlds-version/bam$ cd bam$ ./make_unix.sh$ cd ..cd teeworlds-version
./bam/bam config
./bam/bam conf=release
conf=debug will build the debug versiongame(default)serverclientcontentmasterservertoolsconf=release tools masterserver-f will force a recompileteeworlds-version/build/<arch>cd teeworlds-version
./bam/bam release
release (for all in release mode)debug (for all in debug mode)server_releaseserver_debugclient_releaseclient_debugteeworlds-versionNote: Teeworlds 0.5.2 and earlier requires python 2.x to compile. Python 3.x will not work. Python 3.x support is introduced with Teeworlds 0.6.0.
Note: If you are using bam 0.2.0 (needed for Teeworlds 0.5.2 and earlier) the bam binary will not be in the bam directory, but in bam/src. You will need to change the paths accordingly to that or copy/move the bam executable to the bam directory.