waf: allow for commands like "make bin/smbtorture"
[mat/samba.git] / source4 / Makefile
index e1e53cd6c444847997edad698f8d9f71136d4ef2..b41b38cf37e9a981e75bc2b5b7167f091b8d9254 100644 (file)
@@ -58,3 +58,8 @@ etags:
 
 ctags:
        $(WAF) ctags
+
+# this allows for things like "make bin/smbtorture"
+bin/%:: FORCE
+       $(WAF) --targets=`basename $@`
+FORCE: