projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fixed for unix error "readlink /proc/self/fd/0" on MacOS.
[Faustine.git]
/
examples
/
sinwave
/
Makefile
diff --git
a/examples/sinwave/Makefile
b/examples/sinwave/Makefile
index
4a495a4
..
7c08a75
100644
(file)
--- 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::
clean::
- rm -f gmon.out
output*
+ rm -f gmon.out
$(WAVOUT) *~