refine Makfile