waf, waflib: removed, add Makefile to get waf, update .gitignore
[aubio.git] / Makefile
1 all: build
2
3 checkwaf:
4         @[ -f waf ] || make getwaf
5
6 getwaf:
7         curl https://waf.io/waf-1.8.12 > waf
8         @[ -d wafilb ] || rm -fr waflib
9         @chmod +x waf && ./waf --help &> /dev/null
10         @mv .waf-*/waflib . && rm -fr .waf-*
11         @sed '/^#==>$$/,$$d' waf > waf2 && mv waf2 waf
12         @chmod +x waf
13
14 build: checkwaf
15         ./waf configure
16         ./waf build
17
18 distcheck: build
19         ./waf distcheck
20
21 help:
22         ./waf --help