+LOWCASE_PLATFORM := $(shell echo $(PLATFORM) | tr "A-Z" "a-z")
+
+CFLAGS += -D$(PLATFORM) \
+ -I$(FOSA_PATH)/include -fno-strict-aliasing
+
+# This prevents mgcc from removing the debug information (stripping)
+LDFLAGS += -g
+
+# PaRTiKle uses its own compiler script
+ifeq ($(PLATFORM), PARTIKLE)
+ CC = pgcc
+ LD = ldkernel
+endif
+
+