X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/4c9486f4df577e7227a45855745cbd8350cf4097..66f23d4fabf89ad09adbd4dfc15ac6b5b2b7da83:/interpretor/lib/Makefile diff --git a/interpretor/lib/Makefile b/interpretor/lib/Makefile deleted file mode 100644 index 2ee772f..0000000 --- a/interpretor/lib/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# Faustine library dependancies Makefile. - -LIBSNDFILE_SRCDIR ?= src/libsndfile-1.0.25 -LIBSFOCAML_SRCDIR ?= src/libsndfile-ocaml -LIBSNDFILE_DESTNAME ?= libsndfile -DESTDIR := $(abspath .)/$(LIBSNDFILE_DESTNAME) - -all: librairies - -librairies : libsndfile libsfocaml - -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:: - cd $(LIBSFOCAML_SRCDIR) && PKG_CONFIG_PATH=$(DESTDIR)/lib/pkgconfig - cd $(LIBSFOCAML_SRCDIR) && make depend - cd $(LIBSFOCAML_SRCDIR) && make - -.PHONY: clean mrproper help libsndfile libsfocaml - -help : - @echo "make or make all : compile librairies" - @echo "make clean : remove all object files" - -clean: - @(cd $(LIBSNDFILE_SRCDIR) && $(MAKE) clean) - @(rm -f *~) - -mrproper: clean - rm -rf $(DESTDIR) - @(cd $(LIBSFOCAML_SRCDIR) && $(MAKE) clean)