optimized makefile