makefile with optimizations