Stdin, stdout and stderr updated, tested.
[Faustine.git] / examples / dilation / Makefile
1 SRC = dilation.dsp
2 IMGIN = letter_j.png
3 LINES = 150
4
5 CSVOUT = dilation.csv
6 CSVIN = $(IMGIN:.png=.csv)
7 IMGOUT = $(SRC:.dsp=.png)
8
9 all: $(IMGOUT)
10
11 $(IMGOUT): $(CSVOUT)
12 octave -qf img_write.m
13
14 $(CSVOUT): $(SRC) $(CSVIN)
15 faustine -f $(SRC) -l $(LINES) < $(CSVIN) 1> $@
16
17 $(CSVIN): $(IMGIN)
18 octave -qf img_read.m
19
20 clean::
21 rm -f gmon.out $(IMGOUT) $(CSVOUT)