e249b40c1c03b1fc31493152c031f509da009452
1 LIBSNDFILESRC
:= src
/libsndfile-1.0
.25
3 rootdir
:= $(abspath .
)
6 #prefix := $(DESTDIR)$(PREFIX)
7 #arch := $(wildcard architecture/*.*)
11 librairies
:: libsndfile
12 # @cp $(SNDFILE_PATH)/sndfile_stub.o $(SRC_DIR)
13 # @cd $(SRC_DIR) && $(MAKE) opt OCAML_INCLUDE_PATH=$(OCAML_INCLUDE_PATH) SNDFILE_PATH=$(SNDFILE_PATH)
14 # @cd $(SRC_DIR) && $(MAKE) clean
18 cd
$(LIBSNDFILESRC
) && .
/configure
--prefix="$(rootdir)/$(prefix)" --exec_prefix="$(rootdir)/$(prefix)"
19 cd
$(LIBSNDFILESRC
) && make
20 cd
$(LIBSNDFILESRC
) && make
install
22 .PHONY
: clean mrproper help libsndfile
25 @echo
"make or make all : compile librairies"
26 @echo
"make clean : remove all object files"
29 @
(cd
$(LIBSNDFILESRC
) && $(MAKE
) clean)
33 @
(cd
$(LIBSNDFILESRC
) && $(MAKE
) clean)
36 # Library paths for OCaml and libsndfile-ocaml
39 OCAML_INCLUDE_PATH
= /usr
/local
/lib
/ocaml
40 SNDFILE_PATH
= /Users
/karimbarkati
/Boulot
/2013-07-CRI
/Interpretor
/libsndfile-ocaml