summaryrefslogtreecommitdiff
path: root/source4
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 /source4
parent8a56f8ddb141ea32f6efe182ba97b822b1b200a5 (diff)
downloadsamba-7dcecbd0773b2c342712aa207c941d31f1da7b4a.tar.gz
samba-7dcecbd0773b2c342712aa207c941d31f1da7b4a.tar.bz2
samba-7dcecbd0773b2c342712aa207c941d31f1da7b4a.zip
waf: allow for commands like "make bin/smbtorture"
I finally worked out the GNU make syntax for this
Diffstat (limited to 'source4')
-rw-r--r--source4/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/Makefile b/source4/Makefile
index e1e53cd6c4..b41b38cf37 100644
--- a/source4/Makefile
+++ b/source4/Makefile
@@ -58,3 +58,8 @@ etags:
ctags:
$(WAF) ctags
+
+# this allows for things like "make bin/smbtorture"
+bin/%:: FORCE
+ $(WAF) --targets=`basename $@`
+FORCE: