2 dspsrc
:= $(wildcard *.dsp
)
3 cppsrc
:= $(dspsrc
:.dsp
=.
cpp)
4 plugins
:= $(dspsrc
:%.dsp
=%~.pd_linux
)
5 svg
:= $(dspsrc
:.dsp
=-svg
)
6 xml
:= $(dspsrc
:.dsp
=.dsp.xml
)
7 pd
:= $(dspsrc
:.dsp
=.pd
)
12 rm -Rf
*~
$(cppsrc
) $(plugins
) $(svg
) $(xml
)
14 %.
cpp %.dsp.xml
%-svg
: %.dsp
15 faust
-xml
-svg
-sd
-a puredata.
cpp $< -o
$@
18 g
++ -shared
-fPIC
-Dmydsp
=$(@
:%~.pd_linux
=%) -o
$@
$<