makefile to optimization