Revised makefile, should work to compile it into a static library and then copy all files for includes