Rename interpretor to interpreter.
[Faustine.git] / examples / licenceplate / Makefile
1 SRC = licenceplate.dsp
2 IMGIN = licence_small.png
3 LINES = 117
4
5 BASENAME = output
6 FORMAT = csv
7 CSVIN = $(IMGIN:.png=.csv)
8 CSVOUT = $(BASENAME)1.$(FORMAT)
9 IMGOUT = $(SRC:.dsp=.png)
10
11 all: $(IMGOUT)
12
13 $(IMGOUT): $(CSVOUT)
14 octave -qf img_write.m
15
16 $(CSVOUT): $(SRC) $(CSVIN)
17 faustine -d $(SRC) -i $(CSVIN) -t $(LINES) --oformat $(FORMAT) --obasename $(BASENAME)
18
19 $(CSVIN): $(IMGIN)
20 octave -qf img_read.m
21
22 clean::
23 rm -f gmon.out $(IMGOUT) $(BASENAME)* *csv