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
13 $(MAKE
) -C
$(LIBSNDFILE_SRCDIR
)
14 $(MAKE
) -C
$(LIBSNDFILE_SRCDIR
) install
17 cd
$(LIBSFOCAML_SRCDIR
) && PKG_CONFIG_PATH
=$(DESTDIR
)/lib
/pkgconfig
18 $(MAKE
) -C
$(LIBSFOCAML_SRCDIR
) depend
19 $(MAKE
) -C
$(LIBSFOCAML_SRCDIR
)
21 .PHONY
: clean mrproper help libsndfile libsfocaml
24 @echo
"make or make all : compile librairies"
25 @echo
"make clean : remove all object files"
32 @
($(MAKE
) -C
$(LIBSNDFILE_SRCDIR
) clean)
33 @
($(MAKE
) -C
$(LIBSFOCAML_SRCDIR
) clean)