shithub: aubio

Download patch

ref: 3fc56966d50cf40e0dfa2b56e35f50921b75e7ce
parent: 06c6d7d008b57d62d2eb0fd241b85fc9a241a62b
author: Paul Brossier <piem@piem.org>
date: Fri Apr 29 23:18:31 EDT 2016

Makefile: add WAFOPTS and HAVE_DOUBLE envvars

--- a/Makefile
+++ b/Makefile
@@ -16,13 +16,13 @@
 	@chmod +x waf
 
 configure: checkwaf
-	$(WAFCMD) configure
+	$(WAFCMD) configure $(WAFOPTS) $(HAVE_DOUBLE)
 
 build: configure
-	$(WAFCMD) build
+	$(WAFCMD) build $(WAFOPTS)
 
 build_python:
-	cd python && ./setup.py build
+	cd python && python ./setup.py generate $(HAVE_DOUBLE) build
 
 test_python:
 	cd python && pip install -v .
@@ -39,7 +39,7 @@
 	cd python && ./setup.py clean
 
 build_python3:
-	cd python && python3 ./setup.py build
+	cd python && python3 ./setup.py generate $(HAVE_DOUBLE) build
 
 clean_python3:
 	cd python && python3 ./setup.py clean