Makefile for Arduino sketches. It defines the workflows for compiling code, flashing it to Arduino and even communicating through Serial. http://hardwarefun.com/tutorials/compiling-arduino-sketches-using-makefile
Find a file
James Brotchie 94b26b284d Correct boards.txt now passed to ard-parse-boards.
PARSE_BOARD usage in Arduino.mk fixed to be PARSE_BOARD_CMD.
--boards_txt= command line argument is now correctly passed
into ard-parse-boards.
2012-04-27 23:52:10 +10:00
arduino-mk Correct boards.txt now passed to ard-parse-boards. 2012-04-27 23:52:10 +10:00
examples Remove build files and add to gitignore. 2012-03-25 23:56:06 -04:00
releases Moved released tarballs to releases subdir 2012-03-09 22:24:35 +00:00
.gitignore Remove build files and add to gitignore. 2012-03-25 23:56:06 -04:00
README.md Build user libraries from the sketchbook directory. 2012-03-25 23:54:21 -04:00

A Makefile for Arduino Sketches

This is a very simple Makefile which knows how to build Arduino sketches.

Until March 2012, this was simply posted on my website where you can still find what documentation exists.

If you're using Debian or Ubuntu, you can find this in the arduino-core package.

User Libraries

In order to use Arduino libraries installed in the user's sketchbook folder (the standard location for custom libraries when using the Arduino IDE), you need to set the ARDUNIO_SKETCHBOOK variable to point to this directory. By default it is set to $HOME/sketchbook.