Adds a smarter Makefile