improvements on Makefile