makefile: add optimisation level options

Change-Id: I1a6770dcdb22006f715fa139ee684937efba81e4