Refactory Makefile: build all one times