make sonar wire colors red blue yellow black
[challenge-bot] / Makefile
index fd0e2fd2a53a87a778de60717e02e1d31eaa753f..04bec718cbe0b40f62fd5f3c9e566d5ad153b8fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,17 +10,28 @@ all: ${HTMLS} ${PDFS}
        echo HTMLS=${HTMLS}
        echo PDFS=${PDFS}
 
+astyle:
+       astyle --mode=c --style=lisp --indent=spaces=2 --recursive '*.ino'
+
 initial-ubuntu-install:
        sudo apt-get install -y qrencode fritzing openscad
 
 index.html: README.html
        cp $< $@
 
+qr-sticker-paper.pdf: qr qr-sticker-paper.tex
+       pdflatex qr-sticker-paper.tex
+
+qr.png: qr
+
+qr:
+       qrencode -s 6 -l L -v 1 -o qr.png "xib.me/rmmt"
+
 qrcode:
-       qrencode -l L -v 1 -o qr.png "http://tr.im/4lmn8"
+       qrencode -l L -v 1 -o qr.png "xib.me/rmmt"
 
-qrcode-long:
-       qrencode -l L -v 1 -o qr.png "https://gitorious.org/ozzloy/challenge-bot"
+qrcode-large:
+       qrencode -l L -v 1 -o qr-large.png "https://gitorious.org/ozzloy/challenge-bot"
 
 clean:
        rm -f ${HTMLS} ${PDFS} 3d-printables/*.gcode \