Add switch to write the global Makefile differently

This should probably be removed again. Instead we could always write global targets in the generated .mk file and only write
global targets which are not based on Manifest.json into the global Makefile