Homebrew formula for Arduino Makefile
# tap this repository
$ brew tap sudar/arduino-mk
# to install the last stable release
$ brew install arduino-mk
# to install the development version
$ brew install --HEAD arduino-mk
At the end of your per-project Makefile
set the following:
## on OS X
include /usr/local/opt/arduino-mk/Arduino.mk
## on Linux using Linuxbrew
include /path/to/linuxbrew/opt/arduino-mk/Arduino.mk