Hallo,

probier mal folgendes im Makefile:
  • TARGET_PLATFORM = plat1

und weiter unten dann beim Compileraufruf:
  • GCC -D $(TARGET_PLATFORM) ...


Das sollte funktionieren.