add picture for arduino placement
[challenge-bot] / curriculum / makefile
index 3c708a3afa7508106bc2609191d0f086d73c916c..c445c3c27e0f74dec4f3f1c3501b1f9f49402145 100644 (file)
@@ -1,3 +1,5 @@
+all:challenge-bot.html
+
 square.png: square.scad makefile
        @openscad \
          --render \
@@ -64,5 +66,25 @@ 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/4-place-arduino-closeup.png
+       @skribilo challenge-bot.scm > challenge-bot.html
+
 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