Changeset 6a6cb48


Ignore:
Timestamp:
Apr 30, 2016, 3:43:39 AM (8 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:
95e0336
Parents:
357d9e8
Message:

Makefile: use 'HAVE_DOUBLE=1 make' to build in double precision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r357d9e8 r6a6cb48  
    11WAFCMD=python waf
     2
     3ENABLE_DOUBLE := $(shell [ -z $(HAVE_DOUBLE) ] || echo --enable-double )
     4
    25all: build
    36
     
    1720
    1821configure: checkwaf
    19         $(WAFCMD) configure $(WAFOPTS) $(HAVE_DOUBLE)
     22        $(WAFCMD) configure $(WAFOPTS) $(ENABLE_DOUBLE)
    2023
    2124build: configure
     
    2326
    2427build_python:
    25         cd python && python ./setup.py generate $(HAVE_DOUBLE) build
     28        cd python && python ./setup.py generate $(ENABLE_DOUBLE) build
    2629
    2730test_python:
     
    4043
    4144build_python3:
    42         cd python && python3 ./setup.py generate $(HAVE_DOUBLE) build
     45        cd python && python3 ./setup.py generate $(ENABLE_DOUBLE) build
    4346
    4447clean_python3:
Note: See TracChangeset for help on using the changeset viewer.