Closed
Description
I think there is a problem with Makefile.tmpl, line 138, probably introduced in commit 6918e6a as a result of #9596
Build under Visual Studio 2019 fails with error:
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [LCD_demo.elf] Error 1
C:/Test Projects/LCD_Make_VS/Makefile:530: recipe for target 'LCD_demo.elf' failed
and MAKEFILE line 529-532 read:
529> $(PROJECT).elf: $(OBJECTS) $(SYS_OBJECTS) $(PROJECT).link_script.ld
530> +@echo "$(filter %.o, $^)" > .link_options.txt
531> +@echo "link: $(notdir $@)"
532> @$(LD) $(LD_FLAGS) -T $(filter-out %.o, $^) $(LIBRARY_PATHS) --output $@ @.link_options.txt $(LIBRARIES) $(LD_SYS_LIBS)