New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / documentation / faust-quick-reference-src / illustrations / Makefile
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/documentation/faust-quick-reference-src/illustrations/Makefile b/interpretor/preprocessor/faust-0.9.47mr3/documentation/faust-quick-reference-src/illustrations/Makefile
new file mode 100644 (file)
index 0000000..3c7425a
--- /dev/null
@@ -0,0 +1,15 @@
+src := $(wildcard *.dot)
+dst := $(src:.dot=.pdf)
+
+dsp := $(wildcard *.dsp)
+png := $(dsp:.dsp=.png)
+
+all : $(dst) $(png)
+
+%.pdf : %.dot
+       dot -Tpdf -o $@ $<
+
+%.png : %.dsp
+       faust2png $<
+       cp $(<)-png/process.png $@
+