First commit since fork from grantea/makefiles. This new version supports libraries (.a .so), integrates the testing into the main Makefile, and utilizes a separate build directory.