Makefile and wrapper main() C function to generate a test executable.
README updated accordingly.