Fix bugs during installation of libsndfile-ocaml.
[Faustine.git] / interpreter / preprocessor / faust-0.9.47mr3 / tools / faust2oct / faust2oct
1 #!/bin/sh
2
3 bname=`basename $1 .dsp`
4
5 faust -a octave.cpp $1 > ${bname}.cpp
6 sed -i "s/FAUST_FUNC_NAME/${bname}/g" ${bname}.cpp
7 mkoctfile ${bname}.cpp
8