]> CRI, Mines Paris - PSL - Faustine.git/blobdiff - examples/sinwave/Makefile
Bugs fixed for stdin and stdout.
[Faustine.git] / examples / sinwave / Makefile
index 4a495a4aa3e1bcb90c1025164af7b926a4a6307a..cdd957cfe86723af9d34d0af27244ee0945cee7f 100644 (file)
@@ -1,7 +1,13 @@
-all: clean sin
+SRC = sin.dsp
 
-sin: sin.dsp
-       faustine -d $<
+BASENAME = output
+FORMAT = wav
+WAVOUT = $(BASENAME)1.$(FORMAT)
+
+all: $(WAVOUT)
+
+$(WAVOUT): $(SRC)
+       faustine -f $< > sin.wav
 
 clean::
-       rm -f gmon.out output*
+       rm -f gmon.out $(BASENAME)* *.wav *~