Rename interpretor to interpreter.
[Faustine.git] / examples / fft / Makefile
1 SRC = fft.dsp
2 INPUT1 = sin_1378Hz_0.005_ampli_128samples.wav
3 INPUT2 = sin_2067Hz_0.005_ampli_128samples.wav
4 INPUT3 = sin_16536Hz_0.005_ampli_128samples.wav
5 INPUT4 = sin_22000Hz_0.005_ampli_128samples.wav
6
7 BASENAME = output
8 FORMAT = csv
9 CSVOUT = $(BASENAME)1.$(FORMAT)
10 IMGOUT = $(SRC:.dsp=.png)
11
12 all: $(IMGOUT)
13
14 $(IMGOUT): $(CSVOUT)
15 octave -qf img_write.m
16
17 $(CSVOUT): $(SRC) $(INPUT1) $(INPUT2) $(INPUT3) $(INPUT4)
18 faustine -d $(SRC) -i $(INPUT1) -i $(INPUT2) -i $(INPUT3) -i $(INPUT4) --oformat $(FORMAT) --obasename $(BASENAME)
19
20 clean::
21 rm -f gmon.out output*