optimizate makefile config