X-Git-Url: https://svn.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/1059e1cc0c2ecfa237406949aa26155b6a5b9154..HEAD:/examples/sinwave/Makefile

diff --git a/examples/sinwave/Makefile b/examples/sinwave/Makefile
index c6d2ec9..7c08a75 100644
--- a/examples/sinwave/Makefile
+++ b/examples/sinwave/Makefile
@@ -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) *~