source:
Makefile
@
a7f398d
Last change on this file since a7f398d was f50dea4, checked in by , 9 years ago | |
---|---|
|
|
File size: 643 bytes |
Rev | Line | |
---|---|---|
[81ad577] | 1 | WAFCMD=python waf |
[8e94af5] | 2 | all: build |
3 | ||
4 | checkwaf: | |
5 | @[ -f waf ] || make getwaf | |
6 | ||
7 | getwaf: | |
[e330033] | 8 | curl https://waf.io/waf-1.8.14 > waf |
[81ad577] | 9 | @chmod +x waf |
10 | ||
11 | expandwaf: | |
[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 | ||
18 | build: checkwaf | |
19 | ./waf configure | |
20 | ./waf build | |
21 | ||
[972a326] | 22 | build_python: |
23 | cd python && ./setup.py build | |
24 | ||
25 | clean_python: | |
26 | cd python && ./setup.py clean | |
27 | ||
[a2ae70a] | 28 | build_python3: |
29 | cd python && python3 ./setup.py build | |
30 | ||
31 | clean_python3: | |
32 | cd python && python3 ./setup.py clean | |
33 | ||
[ddd9861] | 34 | clean: |
[81ad577] | 35 | $(WAFCMD) clean |
[ddd9861] | 36 | |
[8e94af5] | 37 | distcheck: build |
[81ad577] | 38 | $(WAFCMD) distcheck |
[8e94af5] | 39 | |
40 | help: | |
[81ad577] | 41 | $(WAFCMD) --help |
Note: See TracBrowser
for help on using the repository browser.