summaryrefslogtreecommitdiff
path: root/buildtools/scripts
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-06 23:12:44 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-06 12:18:04 +0000
commit7dcecbd0773b2c342712aa207c941d31f1da7b4a (patch)
tree5e9c47641decb63d663c5294752f4ba5bf35474f /buildtools/scripts
parent8a56f8ddb141ea32f6efe182ba97b822b1b200a5 (diff)
downloadsamba-7dcecbd0773b2c342712aa207c941d31f1da7b4a.tar.gz
waf: allow for commands like "make bin/smbtorture"
I finally worked out the GNU make syntax for this
Diffstat (limited to 'buildtools/scripts')
-rw-r--r--buildtools/scripts/Makefile.waf4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/scripts/Makefile.waf b/buildtools/scripts/Makefile.waf
index 1ccbf4ca793..c07f8596144 100644
--- a/buildtools/scripts/Makefile.waf
+++ b/buildtools/scripts/Makefile.waf
@@ -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