SRC = sin.dsp
-BASENAME = output
+BASENAME = $(SRC:.dsp=)
FORMAT = wav
-WAVOUT = $(BASENAME)1.$(FORMAT)
+WAVOUT = $(BASENAME).$(FORMAT)
all: $(WAVOUT)
faustine -f $< > sin.wav
clean::
- rm -f gmon.out $(BASENAME)* *.wav *~
+ rm -f gmon.out $(WAVOUT) *~