@@ -3,4 +3,5 @@ RESULTS = $(patsubst tests/%, results/%, $(TESTS))
all: $(RESULTS)
-results/%: tests/%
+results/%: tests/% barcode.py
+ mkdir -p $$(dirname $@) && ./barcode.py $< $@
new file mode 100644
@@ -0,0 +1,6 @@
+TESTS = $(wildcard tests/*)
+RESULTS = $(patsubst tests/%, results/%, $(TESTS))
+
+all: $(RESULTS)
+results/%: tests/%