1ab7a84e3704b32237199cd2af584bd988c57d65
[Faustine.git] / examples / 2d_fft / Makefile
1 SRC = fft2d.dsp
2 IMGIN = hcosine-32.png
3 LINES = 32
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