This is a bare Makefile project sample to work with ino files, and makes use of the arduino-make/arduino-mk Makefile framework that aims to provide all of the IDE functionalities but via a Makefile. See https://github.com/sudar/Arduino-Makefile Once installed you need to set at least these two env variables to be able to use the Makefile: export ARDUINO_DIR=/usr/share/arduino export ARDMK_DIR=/usr/share/arduino Adjust to reflect your own paths! Put that in your shell rc!