amperka/ino — pull request #18 by zenojevski (2012-01-22 10:40:24+00:00)
Title: Fix for the dependency matching in Makefile.deps

This lets ino match every dependency (and not only the first) in `Makefile.deps` in lines containing multiple dependencies. This should also fix issue #13.

sketch.o: .build/src/sketch.cpp \
/Applications/Arduino.app/.../arduino/Arduino.h \
/Applications/Arduino.app/.../arduino/binary.h \
...
/Applications/Arduino.app/.../arduino/new.h \
/Applications/Arduino.app/.../standard/pins_arduino.h \
lib/SSegs/SSegs.h lib/Framebuffer/Framebuffer.h lib/Metro/Metro.h

Fixed swapping *match* for *findall* during `_scan_dependency` (unfortunately named group references cannot be used anymore as *findall* returns tuples).

I didn't see test covering this, so I didn't update them.