summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-07-31 14:28:14 -0700
committerOri Bernstein <ori@markovcorp.com>2017-07-31 14:28:14 -0700
commitd798a21d16cbd1d866752fbde81871012a789ea8 (patch)
tree21dc0a0cce1da3f8fe6db77e406e5d8c87fa936e /mbld
parent7066a80a94deff8894491b5ecd2eb1bb9d032de1 (diff)
downloadmc-d798a21d16cbd1d866752fbde81871012a789ea8.tar.gz
The leaf already takes care of the generates() rule.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/deps.myr3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index 5b78cba..b940e4f 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -117,7 +117,7 @@ const myrdeps = {b, name, mt
dynlibs = [][:]
for f : mt.inputs
p = std.pathcat(mt.dir, f)
- n = leaf(g, p)
+ leaf(g, p)
if std.hassuffix(f, ".myr")
t = changesuffix(p, config.Objsuffix)
o = std.pathcat(opt_objdir, t)
@@ -171,7 +171,6 @@ const myrdeps = {b, name, mt
std.slpush(&dynlibs, l)
;;
elif std.hassuffix(f, config.Objsuffix)
- generates(g, n, p)
depends(g, go, p)
else
std.fatal("don't know how to build {}/{}\n", mt.dir, f)