Can we close this now as #WONTFIX, as we've partially fixed it and the remaining behaviour is the same as the Arduino IDE. Upstream bug is agreed closed: https://github.com/sudar/Arduino-Makefile/issues/115 Regards. -- Simon John https://github.com/sej7278 git at the-jedi.co.uk