Primarily cleaned Makefile and removed warnings.