Changeset 81ad577 for Makefile


Ignore:
Timestamp:
Apr 19, 2016, 1:40:23 AM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
f50dea4
Parents:
376d5e9
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r376d5e9 r81ad577  
     1WAFCMD=python waf
    12all: build
    23
     
    67getwaf:
    78        curl https://waf.io/waf-1.8.14 > waf
     9        @chmod +x waf
     10
     11expandwaf:
    812        @[ -d wafilb ] || rm -fr waflib
    9         @chmod +x waf && ./waf --help > /dev/null
     13        @$(WAFCMD) --help > /dev/null
    1014        @mv .waf*/waflib . && rm -fr .waf*
    1115        @sed '/^#==>$$/,$$d' waf > waf2 && mv waf2 waf
     
    2327
    2428clean:
    25         ./waf clean
     29        $(WAFCMD) clean
    2630
    2731distcheck: build
    28         ./waf distcheck
     32        $(WAFCMD) distcheck
    2933
    3034help:
    31         ./waf --help
     35        $(WAFCMD) --help
Note: See TracChangeset for help on using the changeset viewer.