source: Makefile @ 81ad577

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchpitchshiftsamplertimestretchyinfft+
Last change on this file since 81ad577 was 81ad577, checked in by Paul Brossier <piem@piem.org>, 4 years ago

Makefile: only expand waf if needed, use 'python waf' by default

  • Property mode set to 100644
File size: 533 bytes
Line 
1WAFCMD=python waf
2all: build
3
4checkwaf:
5        @[ -f waf ] || make getwaf
6
7getwaf:
8        curl https://waf.io/waf-1.8.14 > waf
9        @chmod +x waf
10
11expandwaf:
12        @[ -d wafilb ] || rm -fr waflib
13        @$(WAFCMD) --help > /dev/null
14        @mv .waf*/waflib . && rm -fr .waf*
15        @sed '/^#==>$$/,$$d' waf > waf2 && mv waf2 waf
16        @chmod +x waf
17
18build: checkwaf
19        ./waf configure
20        ./waf build
21
22build_python:
23        cd python && ./setup.py build
24
25clean_python:
26        cd python && ./setup.py clean
27
28clean:
29        $(WAFCMD) clean
30
31distcheck: build
32        $(WAFCMD) distcheck
33
34help:
35        $(WAFCMD) --help
Note: See TracBrowser for help on using the repository browser.