Rewrite makefile;