Bug fixed for unix error "readlink /proc/self/fd/0" on MacOS.
[Faustine.git] / interpreter / preprocessor / faust-0.9.47mr3 / tools / faust2appls / faust2jackinternal
1 #!/bin/bash
2
3 if [[ $(uname) == Darwin ]]; then
4 #On Darwin build a Jack internal client
5 for f in $@; do
6 faust -a jack-internal.cpp $f -o $f.cpp
7 ${CXX=g++} ${CXXFLAGS=-O3} `pkg-config --cflags jack` $f.cpp -ljackserver -fPIC -bundle -o ${f%.dsp}.so
8 done
9
10 else
11 #On Linux build a Jack internal client
12 for f in $@; do
13 faust -a jack-gtk.cpp $f -o $f.cpp
14 ${CXX=g++} ${CXXFLAGS=-O3} `pkg-config --cflags jack` $f.cpp -ljackserver -fPIC -shared -o ${f%.dsp}.so
15 done
16
17 fi
18
19 echo ${f%.dsp}.so