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) *~