makefile improvements