source: Makefile @ e372a0f

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

Makefile: distcheck only needs checkwaf, split configure

  • Property mode set to 100644
File size: 676 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
18configure: checkwaf
19        $(WAFCMD) configure
20
21build: configure
22        $(WAFCMD) build
23
24build_python:
25        cd python && ./setup.py build
26
27clean_python:
28        cd python && ./setup.py clean
29
30build_python3:
31        cd python && python3 ./setup.py build
32
33clean_python3:
34        cd python && python3 ./setup.py clean
35
36clean:
37        $(WAFCMD) clean
38
39distcheck: checkwaf
40        $(WAFCMD) distcheck
41
42help:
43        $(WAFCMD) --help
Note: See TracBrowser for help on using the repository browser.