X-Git-Url: https://scm.cri.mines-paristech.fr/git/Faustine.git/blobdiff_plain/dbded051d69cc5ba556884eb285feba032e09d29..829259826b29edc284ec43810bb505a832091dda:/examples/sinwave/Makefile diff --git a/examples/sinwave/Makefile b/examples/sinwave/Makefile index 4a495a4..c6d2ec9 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 = output +FORMAT = wav +WAVOUT = $(BASENAME)1.$(FORMAT) + +all: $(WAVOUT) + +$(WAVOUT): $(SRC) + faustine -d $< --obasename $(BASENAME) --oformat $(FORMAT) clean:: - rm -f gmon.out output* + rm -f gmon.out $(BASENAME)*