2 PREPROCESSOR_DIR
= $(SRC_DIR
)/preprocessor
/faust-0.9
.47mr3
3 OUTPUTSOUNDS_DIR
= examples
/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
-d ..
/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 ../examples/output_sounds/output0.wav"
30 @echo
"open ../examples/output_sounds/output0.wav"
31 @echo
"octave -q --eval 'plot(wavread(\"../examples/output_sounds/output0.wav\")); pause'"
33 # Library paths for OCaml and libsndfile-ocaml