add robot deck to list of parts
[challenge-bot] / curriculum / makefile
index ab55f8cdf5374abdb2a50a6038cbdcb25676b4da..b63ddcfd0189fbaa66a83e25a95a6dd4abe38f3f 100644 (file)
@@ -1,3 +1,5 @@
+all:challenge-bot.html
+
 square.png: square.scad makefile
        @openscad \
          --render \
@@ -64,8 +66,18 @@ translate.html: translate.scm \
                makefile
        @skribilo translate.scm > translate.html
 
-challenge-bot.html: challenge-bot.scm
-       @skribilo challenge-bot.scm > challenge-bot.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 \