shithub: aubio

ref: 1c6fe64f5d251e305db3a7bb2f710a20cb00d8d2
dir: /Makefile/

View raw version
all: build

checkwaf:
	@[ -f waf ] || make getwaf

getwaf:
	curl https://waf.io/waf-1.8.14 > waf
	@[ -d wafilb ] || rm -fr waflib
	@chmod +x waf && ./waf --help > /dev/null
	@mv .waf*/waflib . && rm -fr .waf*
	@sed '/^#==>$$/,$$d' waf > waf2 && mv waf2 waf
	@chmod +x waf

build: checkwaf
	./waf configure
	./waf build

build_python:
	cd python && ./setup.py build

clean_python:
	cd python && ./setup.py clean

clean:
	./waf clean

distcheck: build
	./waf distcheck

help:
	./waf --help