define wiring in separate file
[challenge-bot] / Makefile
index 04bec718cbe0b40f62fd5f3c9e566d5ad153b8fc..54492a58b21bca08db6e9f63e9919a6dc89fba1f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,23 @@ all: ${HTMLS} ${PDFS}
        echo PDFS=${PDFS}
 
 astyle:
-       astyle --mode=c --style=lisp --indent=spaces=2 --recursive '*.ino'
+       astyle \
+        --mode=c \
+        --style=lisp \
+        --indent=spaces=2 \
+        --recursive '*.ino' \
+        --pad-oper \
+        --add-brackets \
+        --convert-tabs \
+        --max-code-length=80 \
+        --line-end=linux
 
 initial-ubuntu-install:
        sudo apt-get install -y qrencode fritzing openscad
 
+uuid:
+       uuid -v4
+
 index.html: README.html
        cp $< $@
 
@@ -25,10 +37,10 @@ qr-sticker-paper.pdf: qr qr-sticker-paper.tex
 qr.png: qr
 
 qr:
-       qrencode -s 6 -l L -v 1 -o qr.png "xib.me/rmmt"
+       qrencode -s 6 -l L -v 1 -o qr.png "challenge-bot.com"
 
 qrcode:
-       qrencode -l L -v 1 -o qr.png "xib.me/rmmt"
+       qrencode -l L -v 1 -o qr.png "challenge-bot.com"
 
 qrcode-large:
        qrencode -l L -v 1 -o qr-large.png "https://gitorious.org/ozzloy/challenge-bot"