Updating makefile to seperate optimization from unneeded areas