aboutsummaryrefslogtreecommitdiff
path: root/Common.mk
AgeCommit message (Collapse)Author
2017-09-06Auto detect Windows sketchbook path using USERPROFILE not HOME and spellingJohn Whittington
2017-09-05Documentation changes for Windows usageJohn Whittington
2017-08-08Quote the prefix tag in the space_pad_to functionSZEDER Gábor
POSIX shells treat an unquoted [abcd] as a pattern bracket expression and apply it for filename expansion. This kicks in and causes troubles in the space_pad_to function when it's called to pad prefix tags like '[AUTODETECT]', because the argument holding such a tag is passed to a shell unquoted. The result is funny output when the directory containing the Makefile also contains any files or directories, whose name is a single upper-case character that can be found in any prefix tags: $ touch A B C D $ make ------------------------- Arduino.mk Configuration: - A C D CURRENT_OS = LINUX - [USER] ARDUINO_DIR = /home/szeder/src/arduino/arduino-1.8.1 - [USER] ARDMK_DIR = /home/szeder/src/arduino/Arduino-Makefile - A C D ARDUINO_VERSION = 181 - A D ARCHITECTURE = avr - A D ARDMK_VENDOR = arduino - A D ARDUINO_SKETCHBOOK = <snip> Prevent this by quoting space_pad_to's parameter when passing it to a shell.
2015-04-04Better autodetection of ARDUINO_SKETCHBOOK and ARDUINO_DIR on OSXSimon John
2014-10-22put ARDUINO_DIR block after Travis-CI block else travis will fail.stepcut
2014-10-22move ARDUINO_DIR auto-detection into Common.mk. This allows Teensy.mk to use ↵stepcut
auto-detected location.
2014-09-22Update Travis-CI scripts to test against Arduino v1.0.6Simon John
2014-09-21Removed Travis-CI references from all examples. Regular usersSimon John
are not affected by test scripts/makefiles. Added makefile and gcc version info to config output. Tested on Arduino 1.0.6
2014-03-20Add phony target to run pre-build hook scriptJulien Ridoux
Fix #176
2014-01-14Move files out of `arduino-mk` subdirectorySimon John
fix #152