X-Git-Url: https://svn.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/63cf293f572ae7d5c1c83b9dffb31e7d774f8854..4c9486f4df577e7227a45855745cbd8350cf4097:/interpretor/lib/Makefile

diff --git a/interpretor/lib/Makefile b/interpretor/lib/Makefile
index d6ed16f..2ee772f 100644
--- a/interpretor/lib/Makefile
+++ b/interpretor/lib/Makefile
@@ -9,17 +9,17 @@ all: librairies
 
 librairies : libsndfile libsfocaml
 
-libsndfile:
+libsndfile::
 	mkdir -p $(DESTDIR)
 	cd $(LIBSNDFILE_SRCDIR) && ./configure --prefix="$(DESTDIR)" --exec_prefix="$(DESTDIR)"
 	cd $(LIBSNDFILE_SRCDIR) && make
 	cd $(LIBSNDFILE_SRCDIR) && make install
 	cd $(LIBSNDFILE_SRCDIR) && make clean
 
-libsfocaml:
+libsfocaml::
 	cd $(LIBSFOCAML_SRCDIR) && PKG_CONFIG_PATH=$(DESTDIR)/lib/pkgconfig
+	cd $(LIBSFOCAML_SRCDIR) && make depend
 	cd $(LIBSFOCAML_SRCDIR) && make
-	cd $(LIBSFOCAML_SRCDIR) #&& make clean
 
 .PHONY: clean mrproper help libsndfile libsfocaml
 
@@ -33,3 +33,4 @@ clean:
 
 mrproper: clean
 	rm -rf $(DESTDIR)
+	@(cd $(LIBSFOCAML_SRCDIR) && $(MAKE) clean)