waf: allow for commands like "make bin/smbtorture"
[kai/samba.git] / buildtools / scripts / Makefile.waf
index 1ccbf4ca793be035f13d295c06f53f443d08e86e..c07f8596144120cba8c45d78c3af834e9e536625 100644 (file)
@@ -56,6 +56,10 @@ etags:
 ctags:
        $(WAF) ctags
 
+bin/%:: FORCE
+       $(WAF) --targets=`basename $@`
+FORCE:
+
 configure: autogen-waf.sh BUILDTOOLS/scripts/configure.waf
        ./autogen-waf.sh