ErikZalm/Marlin — pull request #361 by yuroller (2013-01-08 13:18:06+00:00)
Title: Makefile sanguino

I added library (SPI and LiquidCrystal) files from Arduino IDE 023, for building sanguino firmware using sanguino 0.xx directory: now build uses only compiler tools and no source file from Arduino IDE installation.
I added files from Arduino IDE 1.0.3 and put them in separate directory for building sanguino firmware with updated arduino sources.
Arduino based board (e.g. ramps) still use files provided in Arduino IDE installation.

I tested build with:
set path=%PATH%;C:\UserProgramsX86\arduino-1.0.3\hardware\tools\avr\utils\bin

RAMPS:
make HARDWARE_MOTHERBOARD=33 ARDUINO_INSTALL_DIR=C:\UserProgramsX86\arduino-1.0.3 AVR_TOOLS_PATH=C:\UserProgramsX86\arduino-1.0.3\hardware\tools\avr\bin\ ARDUINO_VERSION=103

Sanguino 1.x.x:
make HARDWARE_MOTHERBOARD=62 AVR_TOOLS_PATH=C:\UserProgramsX86\arduino-1.0.3\hardware\tools\avr\bin\ ARDUINO_VERSION=103

Sanguino 0.xx
make HARDWARE_MOTHERBOARD=62 AVR_TOOLS_PATH=C:\UserProgramsX86\arduino-1.0.3\hardware\tools\avr\bin\ ARDUINO_VERSION=23