The example directory shows a simple, standalone example.
This shows how to use MAGMA, apart from the MAGMA Makefiles and other special framework that we've developed for the tests.