rewrite all Makefile