refine Makefile