diff options
Diffstat (limited to 'contrib/Makefile')
-rw-r--r-- | contrib/Makefile | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/contrib/Makefile b/contrib/Makefile index 05fe264..37eba4f 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -26,8 +26,10 @@ LUFA_VERSION := 151115 FASTLED_VERSION := 3.1.0 PJON_VERSION := 3.0 VUSB_VERSION := 20121206 +RADIOHEAD_VERSION := 1.89 -all: download-lufa download-fastled download-pjon download-vusb update-teensy-loader update-micronucleus +all: download-lufa download-fastled download-pjon download-vusb download-radiohead clone-rweather-crypto clone-teensy-loader clone-micronucleus +update-all: update-rweather-crypto update-teensy-loader update-micronucleus download-lufa: LUFA-${LUFA_VERSION}.zip @@ -35,6 +37,7 @@ LUFA-${LUFA_VERSION}.zip: wget "http://www.github.com/abcminiuser/lufa/archive/$@" -O "$@" unzip $@ + download-fastled: FastLED-${FASTLED_VERSION}.zip FastLED-${FASTLED_VERSION}.zip: @@ -49,22 +52,47 @@ PJON-${PJON_VERSION}.zip: wget "https://github.com/gioblu/PJON/archive/${PJON_VERSION}.zip" -O "$@" unzip $@ + download-vusb: vusb-${VUSB_VERSION}.zip vusb-${VUSB_VERSION}.zip: wget "https://www.obdev.at/downloads/vusb/vusb-${VUSB_VERSION}.zip" -O "$@" unzip $@ + +download-radiohead: RadioHead-${RADIOHEAD_VERSION}.zip + +RadioHead-${RADIOHEAD_VERSION}.zip: + wget "http://www.airspayce.com/mikem/arduino/RadioHead/$@" -O "$@" + unzip $@ + cd RadioHead; patch -p1 < ../radiohead.patch + + +.rweather-crypto.prepared: + git clone https://github.com/rweather/arduinolibs.git rweather-crypto + touch $@ + +clone-rweather-crypto: .rweather-crypto.prepared + +update-rweather-crypto: .rweather-crypto.prepared + cd rweather-crypto; git pull + + .teensy-loader.prepared: git clone https://github.com/PaulStoffregen/teensy_loader_cli.git touch $@ +clone-teensy-loader: .teensy-loader.prepared + update-teensy-loader: .teensy-loader.prepared cd teensy_loader_cli; git pull; make + .micronucleus.prepared: git clone https://github.com/micronucleus/micronucleus/ touch $@ +clone-micronucleus: .micronucleus.prepared + update-micronucleus: .micronucleus.prepared cd micronucleus/commandline; git pull; make |