Finished a buggy makefile