optimizing makefiel