2 PREPROCESSOR_DIR
= $(SRC_DIR
)/faust-0.9
.47mr3
3 OUTPUTSOUNDS_DIR
= output_sounds
8 @cp
$(SNDFILE_PATH
)/sndfile_stub.o
$(SRC_DIR
)
9 @cd
$(SRC_DIR
) && $(MAKE
) opt OCAML_INCLUDE_PATH
=$(OCAML_INCLUDE_PATH
) SNDFILE_PATH
=$(SNDFILE_PATH
)
10 @cd
$(SRC_DIR
) && $(MAKE
) clean
12 .PHONY
: clean mrproper
15 @cd
$(SRC_DIR
) && $(MAKE
) clean)
19 @
(cd
$(SRC_DIR
) && $(MAKE
) mrproper
)
20 @
(cd
$(PREPROCESSOR_DIR
) && $(MAKE
) clean)
23 @
rm -f
$(OUTPUTSOUNDS_DIR
)/output0.wav
24 @cd
$(SRC_DIR
) && .
/faustine
-csv
-wav ..
/dsp_files
/sin.dsp
25 @ls
-l
$(OUTPUTSOUNDS_DIR
)/output0.wav
27 @echo
" You might want to check the output file with either:"
28 @echo
"audacity ../output_sounds/output0.wav"
29 @echo
"open ../output_sounds/output0.wav"
30 @echo
"octave -q --eval 'plot(wavread(\"output_sounds/output0.wav\")); pause'"
32 # Library paths for OCaml and libsndfile-ocaml