X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/91130bc31ab7163870b104407781db50a6f84980..4745d0cba82b458d491320c72e564b23899a5310:/examples/sinwave/Makefile?ds=sidebyside diff --git a/examples/sinwave/Makefile b/examples/sinwave/Makefile index 4a495a4..7c08a75 100644 --- a/examples/sinwave/Makefile +++ b/examples/sinwave/Makefile @@ -1,7 +1,13 @@ -all: clean sin +SRC = sin.dsp -sin: sin.dsp - faustine -d $< +BASENAME = $(SRC:.dsp=) +FORMAT = wav +WAVOUT = $(BASENAME).$(FORMAT) + +all: $(WAVOUT) + +$(WAVOUT): $(SRC) + faustine -f $< > sin.wav clean:: - rm -f gmon.out output* + rm -f gmon.out $(WAVOUT) *~