refined the Makefile