Makefiles chain, dependancies and libsndfile configure checked.
[Faustine.git] / configure
diff --git a/configure b/configure
new file mode 100755 (executable)
index 0000000..ebb3976
--- /dev/null
+++ b/configure
@@ -0,0 +1,12 @@
+#! /bin/bash
+
+# libsndfile configure
+
+LIBSNDFILE_PREFIX=$PWD/interpretor/lib
+LIBSNDFILE_SRCDIR=$LIBSNDFILE_PREFIX/src/libsndfile-1.0.25
+LIBSNDFILE_DESTNAME=libsndfile
+DESTDIR=$LIBSNDFILE_PREFIX/$LIBSNDFILE_DESTNAME
+
+make mrproper
+mkdir -p $DESTDIR
+cd $LIBSNDFILE_SRCDIR && ./configure --prefix="$DESTDIR" --exec_prefix="$DESTDIR"