Makefile: Allow specifying PYTHON environment variable.
[garming/samba-autobuild/.git] / Makefile
index ae2fc0636d7d8e919c7263faa52ee900794430fe..5f220fa3fad69992806f8d6e37e419f93f43c1be 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 # simple makefile wrapper to run waf
 
-WAF_BINARY=./buildtools/bin/waf
+PYTHON?=python
+WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
 WAF=WAF_MAKE=1 $(WAF_BINARY)
 
 all: