+ # There're also tree demo PNGs, but I want to keep them around, for
+ # referencing without having to build the project.
+
+build:
+ ocamlbuild $(EXECUTABLES)
+
+demos: \
+ run_straight_line_program_interpreter \
+ tree_demo_unbalanced.png \
+ tree_demo_balanced.png
+
+run_straight_line_program_interpreter: straight_line_program_interpreter.byte
+ ./$<
+
+tree_demo_unbalanced.dot: tree_demo.byte
+ ./$< unbalanced $(SET_MEMBERS) > $@
+
+tree_demo_unbalanced.png: tree_demo_unbalanced.dot
+ neato -T png $< > $@