message: copy wetmelons cxx settings
diff: @@ -134,7 +134,7 @@ LDSCRIPT = STM32F405RGTx_FLASH.ld
  # libraries
  LIBS = -lc -lm -lnosys -larm_cortexM4lf_math
  LIBDIR = -LDrivers/CMSIS/Lib
  -LDFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -specs=nano.specs $(OPT) -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections
  +LDFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -specs=nosys.specs -specs=nano.specs $(OPT) -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections
  # default action: build all
  all: $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
  @@ -159,7 +159,7 @@ $(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR)
  @$(AS) -c $(CFLAGS) $< -o $@
  $(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) Makefile
  - @$(CC) $(OBJECTS) $(LDFLAGS) -o $@
  + @$(CXX) $(OBJECTS) $(LDFLAGS) -o $@
  $(SZ) $@
  $(BUILD_DIR)/%.hex: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
  