diff options
Diffstat (limited to 'contrib/Makefile')
-rw-r--r-- | contrib/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/contrib/Makefile b/contrib/Makefile index 9d606bb..eb86305 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -28,8 +28,8 @@ PJON_VERSION := 3.0 VUSB_VERSION := 20121206 RADIOHEAD_VERSION := 1.89 -all: download-lufa download-fastled download-pjon download-vusb download-radiohead update-teensy-loader update-micronucleus - +all: download-lufa download-fastled download-pjon download-vusb download-radiohead clone-crypto clone-teensy-loader clone-micronucleus +update-all: update-crypto update-teensy-loader update-micronucleus download-lufa: LUFA-${LUFA_VERSION}.zip @@ -68,10 +68,22 @@ RadioHead-${RADIOHEAD_VERSION}.zip: cd RadioHead; patch -p1 < ../radiohead.patch +.crypto.prepared: + git clone https://github.com/rweather/arduinolibs.git crypto + touch $@ + +clone-crypto: .crypto.prepared + +update-crypto: .crypto.prepared + cd 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 @@ -80,5 +92,7 @@ update-teensy-loader: .teensy-loader.prepared git clone https://github.com/micronucleus/micronucleus/ touch $@ +clone-micronucleus: .micronucleus.prepared + update-micronucleus: .micronucleus.prepared cd micronucleus/commandline; git pull; make |