makefile: optimizations