ref: d798a21d16cbd1d866752fbde81871012a789ea8
parent: 7066a80a94deff8894491b5ecd2eb1bb9d032de1
author: Ori Bernstein <ori@markovcorp.com>
date: Mon Jul 31 10:28:14 EDT 2017
The leaf already takes care of the generates() rule.
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -117,7 +117,7 @@
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 @@
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)