2 PREPROCESSOR_DIR
= $(SRC_DIR
)/faust-0.9
.47mr3
3 OUTPUTSOUNDS_DIR
= output_sounds
9 @cp
$(SNDFILE_PATH
)/sndfile_stub.o
$(SRC_DIR
)
10 @cd
$(SRC_DIR
) && $(MAKE
) opt OCAML_INCLUDE_PATH
=$(OCAML_INCLUDE_PATH
) SNDFILE_PATH
=$(SNDFILE_PATH
)
11 @cd
$(SRC_DIR
) && $(MAKE
) clean
13 .PHONY
: clean mrproper
16 @
(cd
$(SRC_DIR
) && $(MAKE
) clean)
20 @
(cd
$(SRC_DIR
) && $(MAKE
) mrproper
)
21 @
(cd
$(PREPROCESSOR_DIR
) && $(MAKE
) clean)
24 @
rm -f
$(OUTPUTSOUNDS_DIR
)/output0.wav
25 @cd
$(SRC_DIR
) && .
/faustine
-csv
-wav ..
/dsp_files
/sin.dsp
26 @ls
-l
$(OUTPUTSOUNDS_DIR
)/output0.wav
28 @echo
" You might want to check the output file with either:"
29 @echo
"audacity ../output_sounds/output0.wav"
30 @echo
"open ../output_sounds/output0.wav"
31 @echo
"octave -q --eval 'plot(wavread(\"output_sounds/output0.wav\")); pause'"
33 # Library paths for OCaml and libsndfile-ocaml
37 OCAML_INCLUDE_PATH
= /usr
/local
/lib
/ocaml
38 SNDFILE_PATH
= ~
/Boulot
/2013-07-CRI
/lib
/libsndfile-ocaml