ticket:1 Optimize Makefile