Did some reading and improved the Makefile (it now only compiles what
actually needs to be compiled).