]> Sergey Matveev's repositories - go-opus.git/commitdiff
Remove obsolete makefile
authorHraban Luyat <hraban@0brg.net>
Sun, 14 Aug 2016 14:20:15 +0000 (15:20 +0100)
committerHraban Luyat <hraban@0brg.net>
Sun, 14 Aug 2016 14:20:15 +0000 (15:20 +0100)
Makefile [deleted file]

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index e5891f2..0000000
--- a/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-BUILDDIR := build
-
-PWD=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))
-export PKG_CONFIG_PATH :=$(PWD)/$(BUILDDIR)/lib/pkgconfig:$(PKG_CONFIG_PATH)
-
-.PHONY: clean distclean default test build all libopus libopusfile
-# Don't delete config.h files after succesful builds
-.PRECIOUS: %/config.h %/autogen.sh
-
-all: libopus libopusfile
-
-libopus: libopus.a
-libopusfile: libopus libopusfile.a
-
-%/autogen.sh:
-       git submodule init
-       git submodule update
-
-%/config.h: %/autogen.sh
-       (cd "$*"; ./autogen.sh)
-       (cd "$*"; ./configure --prefix="$$PWD/../$(BUILDDIR)" --enable-fixed-point)
-
-%.a: %/config.h
-       $(MAKE) -C "$*"
-       $(MAKE) -C "$*" install
-       cp "$(BUILDDIR)/lib/$@" .
-
-clean-%:
-       $(MAKE) -C "$*" clean
-
-distclean-%:
-       $(MAKE) -C "$*" distclean
-
-clean distclean: %: %-libopus %-libopusfile
-       rm -rf $(BUILDDIR) *.a