build: try to honor MAKEFLAGS from make
[samba.git] / buildtools / scripts / Makefile.waf
index a1c4b695251cdc2fbf95fee7f53e5b49dc8ebe90..ac5c01355a884e4027d6e96d3694f49230f4f819 100644 (file)
@@ -1,11 +1,6 @@
 # simple makefile wrapper to run waf
 
-# default to using only 1 cpu, to be friendly to build
-# farm machines. I wonder how we get at the -jN option
-# from make to pass it to waf?
-JOBS=1
-
-WAF=JOBS=$(JOBS) BUILDTOOLS/bin/waf
+WAF=WAF_MAKE=1 BUILDTOOLS/bin/waf
 
 all:
        $(WAF) build