Now by using a build.mk file in the project's root we can append to CFLAGS. Without the need of editing Spark's core-firmware/build/makefile