optimize makefile