A better, unified makefile.
Basic tests.