1 # Faustine library dependancies Makefile.
3 LIBSNDFILE_SRCDIR ?
= src
/libsndfile-1.0
.25
4 LIBSFOCAML_SRCDIR ?
= src
/libsndfile-ocaml
5 LIBSNDFILE_DESTNAME ?
= libsndfile
6 DESTDIR
:= $(abspath .
)/$(LIBSNDFILE_DESTNAME
)
10 librairies
: libsndfile libsfocaml
14 cd
$(LIBSNDFILE_SRCDIR
) && .
/configure
--prefix="$(DESTDIR)" --exec_prefix="$(DESTDIR)"
15 cd
$(LIBSNDFILE_SRCDIR
) && make
16 cd
$(LIBSNDFILE_SRCDIR
) && make
install
17 cd
$(LIBSNDFILE_SRCDIR
) && make
clean
20 cd
$(LIBSFOCAML_SRCDIR
) && PKG_CONFIG_PATH
=$(DESTDIR
)/lib
/pkgconfig
21 cd
$(LIBSFOCAML_SRCDIR
) && make depend
22 cd
$(LIBSFOCAML_SRCDIR
) && make
24 .PHONY
: clean mrproper help libsndfile libsfocaml
27 @echo
"make or make all : compile librairies"
28 @echo
"make clean : remove all object files"
31 @
(cd
$(LIBSNDFILE_SRCDIR
) && $(MAKE
) clean)
36 @
(cd
$(LIBSFOCAML_SRCDIR
) && $(MAKE
) clean)