makefile: add graphite, link time and ffast math optimisations

Change-Id: Idf012f698e0cbd535dff79cf5650b6ca6544c4c1