Attempting to pull in the Bounce library
This commit is contained in:
parent
31d62328ba
commit
af4691730f
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,6 @@
|
|||||||
/postgresql/tutorial/weather/data/
|
/postgresql/tutorial/weather/data/
|
||||||
/arduino/arduino.mk
|
/arduino/arduino.mk
|
||||||
|
/arduino/libraries/.raw/
|
||||||
|
/arduino/libraries/*
|
||||||
.dep
|
.dep
|
||||||
*.hex
|
*.hex
|
||||||
|
@ -1,2 +1,17 @@
|
|||||||
|
EVERYTHING := \
|
||||||
|
arduino.mk \
|
||||||
|
libraries/Bounce/Bounce.h
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: $(EVERYTHING)
|
||||||
|
|
||||||
arduino.mk:
|
arduino.mk:
|
||||||
curl -L -o $@ -s http://ed.am/dev/make/arduino-mk/arduino.mk
|
curl -L -o $@ -s http://ed.am/dev/make/arduino-mk/arduino.mk
|
||||||
|
|
||||||
|
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
|
||||||
|
0
arduino/libraries/.gitkeep
Normal file
0
arduino/libraries/.gitkeep
Normal file
Loading…
x
Reference in New Issue
Block a user