Bug fixed for unix error "readlink /proc/self/fd/0" on MacOS.
[Faustine.git] / examples / fft / Makefile
1 SRC = fft.dsp
2 BASENAME = output
3 FORMAT = csv
4 CSVOUT = $(BASENAME)1.$(FORMAT)
5 IMGOUT = $(SRC:.dsp=.png)
6
7 SINSUM = sinsum.dsp
8 WAV_BASENAME = $(SINSUM:.dsp=)
9 WAV_FORMAT = wav
10 WAVIN = $(WAV_BASENAME)1.$(WAV_FORMAT)
11 WAV_LENGTH = 128
12
13 all: $(IMGOUT)
14
15 $(IMGOUT): $(CSVOUT)
16 octave -qf img_write.m
17
18 $(CSVOUT): $(SRC) $(WAVIN)
19 faustine -f $(SRC) -i $(WAVIN) > $@
20
21 $(WAVIN): $(SINS)
22 faustine -f $(SINSUM) -l $(WAV_LENGTH) > $@
23
24 clean::
25 rm -f gmon.out $(CSVOUT) $(IMGOUT) $(WAVIN) *~
26
27
28
29
30
31
32
33
34
35
36
37