Optimization for the Makefile and Code