From: Hraban Luyat <hraban@0brg.net> Date: Sun, 14 Aug 2016 14:20:15 +0000 (+0100) Subject: Remove obsolete makefile X-Git-Tag: v2.0.0~73 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d0644812e66e8380e58973b937066cef898919b0;p=go-opus.git Remove obsolete makefile --- diff --git a/Makefile b/Makefile deleted file mode 100644 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