Bug fixed for unix error "readlink /proc/self/fd/0" on MacOS.
[Faustine.git] / examples / sinwave / Makefile
index c6d2ec9..7c08a75 100644 (file)
@@ -1,13 +1,13 @@
 SRC = sin.dsp
 
-BASENAME = output
+BASENAME = $(SRC:.dsp=)
 FORMAT = wav
-WAVOUT = $(BASENAME)1.$(FORMAT)
+WAVOUT = $(BASENAME).$(FORMAT)
 
 all: $(WAVOUT)
 
 $(WAVOUT): $(SRC)
-       faustine -d $< --obasename $(BASENAME) --oformat $(FORMAT)
+       faustine -f $< > sin.wav
 
 clean::
-       rm -f gmon.out $(BASENAME)*
+       rm -f gmon.out $(WAVOUT) *~