4 INTERPRETOR_PATH
="$prefix/interpretor"
5 PREPROCESSOR_PATH
="$INTERPRETOR_PATH/preprocessor/faust-0.9.47mr3"
6 OCAML_INCLUDE_PATH_DEFAULT
="/usr/lib/ocaml"
7 SNDFILE_PATH_DEFAULT
="~/Desktop/libsndfile-ocaml"
16 echo "1. Please set ocaml include header files' path: "
17 echo " [default]: $OCAML_INCLUDE_PATH_DEFAULT"
18 read -r OCAML_INCLUDE_PATH
20 if [ -z $OCAML_INCLUDE_PATH ]; then
21 OCAML_INCLUDE_PATH
=$OCAML_INCLUDE_PATH_DEFAULT
23 echo "Ocaml include path : $OCAML_INCLUDE_PATH"
27 echo "2. Please set libsndfile-ocaml path: "
28 echo " [default]: $SNDFILE_PATH_DEFAULT"
31 if [ -z $SNDFILE_PATH ]; then
32 SNDFILE_PATH
=$SNDFILE_PATH_DEFAULT
34 echo "libsndfile-ocaml path : $SNDFILE_PATH"
37 cp Makefile.
in Makefile
38 echo "OCAML_INCLUDE_PATH = $OCAML_INCLUDE_PATH" >> Makefile
39 echo "SNDFILE_PATH = $SNDFILE_PATH" >> Makefile