arduino.mk (new arduino makefile, works with 1.0)

Hi,

tex_:
love this makefile

Thanks. :o)

my only problem is that I just got an arduino due and "make boards" does not give this option

As I understand it, you have to download and use the new Arduino 1.5 BETA library with the Arduino Duo. I had a quick look at it and it seems they've reorganised it quite a bit. Also, the IDE will likely use straight GCC (rather than the AVR GCC) to build sketches for it. So supporting the Duo would mean some major changes to the makefile.

I'm up for supporting it, though. The main thing stopping me is that I don't have a Duo to test with. But it's on my todo list!