Rewrite the Makefile