autobuild challenge-bot.html and reload in browser
[challenge-bot] / curriculum / makefile
index ebc4ee02793bc04314d3798db49d4a42aad77fc0..8ef3a0fb402aaf807efaf5cd6476e31c2ead6299 100644 (file)
@@ -1,5 +1,9 @@
 all:challenge-bot.html
 
+.PHONY: autobuild
+autobuild:
+       ./autobuild.bash
+
 square.png: square.scad makefile
        @openscad \
          --render \
@@ -77,7 +81,7 @@ challenge-bot.html: challenge-bot.scm \
                arduino-to-deck/6-32-screw.png \
                arduino-to-deck/4-place-arduino-closeup.png \
                makefile
-       @skribilo challenge-bot.scm > challenge-bot.html
+       @skribilo $< > $@
 
 clean:
        @rm -f \