source: Makefile @ 70c6e39

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

Makefile: use './setup.py install' to test

  • Property mode set to 100644
File size: 748 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
27test_python:
28        cd python && ./setup.py install && ./tests/run_all_tests
29
30clean_python:
31        cd python && ./setup.py clean
32
33build_python3:
34        cd python && python3 ./setup.py build
35
36clean_python3:
37        cd python && python3 ./setup.py clean
38
39clean:
40        $(WAFCMD) clean
41
42distcheck: checkwaf
43        $(WAFCMD) distcheck
44
45help:
46        $(WAFCMD) --help
Note: See TracBrowser for help on using the repository browser.