source: Makefile @ 81ad577

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 81ad577 was 81ad577, checked in by Paul Brossier <piem@piem.org>, 8 years ago

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

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