2013-12-30 04:28:46 +00:00
|
|
|
EVERYTHING := \
|
|
|
|
arduino.mk \
|
|
|
|
libraries/Bounce/Bounce.h
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: $(EVERYTHING)
|
|
|
|
|
2013-12-29 14:37:24 +00:00
|
|
|
arduino.mk:
|
|
|
|
curl -L -o $@ -s http://ed.am/dev/make/arduino-mk/arduino.mk
|
2013-12-30 04:28:46 +00:00
|
|
|
|
|
|
|
libraries/Bounce/Bounce.h: libraries/.raw/Bounce-Arduino-Wiring/Bounce
|
|
|
|
ln -svf $(PWD)/libraries/.raw/Bounce-Arduino-Wiring/Bounce $(PWD)/libraries/Bounce
|
|
|
|
|
|
|
|
libraries/.raw/Bounce-Arduino-Wiring/Bounce:
|
|
|
|
mkdir -p libraries/.raw/Bounce-Arduino-Wiring && \
|
|
|
|
curl -L -s https://github.com/thomasfredericks/Bounce-Arduino-Wiring/archive/8c6fb3b3437b66215c579d23b716916c9b65881b.tar.gz | \
|
|
|
|
tar xzf - -C libraries/.raw/Bounce-Arduino-Wiring --strip-components=1
|