add robot deck to list of parts
[challenge-bot] / curriculum / makefile
index 3c708a3afa7508106bc2609191d0f086d73c916c..b63ddcfd0189fbaa66a83e25a95a6dd4abe38f3f 100644 (file)
@@ -1,3 +1,5 @@
+all:challenge-bot.html
+
 square.png: square.scad makefile
        @openscad \
          --render \
@@ -64,5 +66,28 @@ translate.html: translate.scm \
                makefile
        @skribilo translate.scm > translate.html
 
+%.png:%.svg makefile
+       @inkscape \
+         --export-png $@ \
+         --file $< \
+         > /dev/null
+
+challenge-bot.html: challenge-bot.scm \
+               arduino-to-deck/screw-cross-section.png \
+               arduino-to-deck/6-32-screw.png \
+               arduino-to-deck/4-place-arduino-closeup.png \
+               makefile
+       @skribilo $< > $@
+
 clean:
-       @rm -f square.png square.html
+       @rm -f \
+               square.png \
+               square1.png \
+               square2.png \
+               square3.png \
+               square.html \
+               translate.png \
+               translate01.png \
+               translate10.png \
+               translate.html \
+               challenge-bot.html