diff options
Diffstat (limited to 'Common.mk')
| -rw-r--r-- | Common.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -79,3 +79,9 @@ ifndef ARDUINO_DIR else $(call show_config_variable,ARDUINO_DIR,[USER]) endif + +ifeq ($(CURRENT_OS),WINDOWS) + ifneq ($(shell echo $(ARDUINO_DIR) | egrep '\\|[[:space:]]|cygdrive'),) + echo $(error On Windows, ARDUINO_DIR and other defines must use forward slash and not contain spaces, special characters or be cygdrive relative) + endif +endif |
