diff --git a/Makefile.standard_app b/Makefile.standard_app index 018b218ca..c6991874d 100644 --- a/Makefile.standard_app +++ b/Makefile.standard_app @@ -75,7 +75,8 @@ endif # STANDARD DEFINES # ##################################################################### DEFINES += $(DEFINES_LIB) -DEFINES += APPNAME=\"$(APPNAME)\" +# Added directly as a CFLAG because it might contain spaces +CFLAGS += -DAPPNAME=\"$(APPNAME)\" DEFINES += APPVERSION=\"$(APPVERSION)\" DEFINES += MAJOR_VERSION=$(APPVERSION_M) MINOR_VERSION=$(APPVERSION_N) PATCH_VERSION=$(APPVERSION_P) DEFINES += IO_HID_EP_LENGTH=64