Update Makefile

Merge XX_GRAPHITE and GRAPHITE_FLAGS as well as add some more.