Stdin, stdout and stderr updated, tested.
[Faustine.git] / examples / close / Makefile
1 SRC = close.dsp
2 IMGIN = circbw.gif
3 LINES = 123
4
5 BASENAME = output
6 FORMAT = csv
7 CSVIN = $(IMGIN:.gif=.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 -f $(SRC) -i $(CSVIN) -l $(LINES) > $@
18
19 $(CSVIN): $(IMGIN)
20 octave -qf img_read.m
21
22 clean::
23 rm -f gmon.out $(IMGOUT) $(BASENAME)*