summaryrefslogtreecommitdiff
path: root/mbld/main.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/main.myr')
-rw-r--r--mbld/main.myr2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbld/main.myr b/mbld/main.myr
index 50aa373..606ae3b 100644
--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -96,6 +96,7 @@ const main = {args : byte[:][:]
| "install": r = bld.install(b)
| "uninstall": r = bld.uninstall(b)
| "test": r = bld.test(b, cmd.args[1:])
+ | "bench": r = bld.bench(b, cmd.args[1:])
| "list": r = show(b, cmd.args[1:])
| _:
ok = true
@@ -120,6 +121,7 @@ const buildimm = {b, targ, inputs
.incpath=bld.opt_incpaths,
.libdeps=[][:]
]
+ bld.opt_objdir = ""
std.slpush(&b.all, "__out__")
std.htput(b.targs, "__out__", `bld.Bin &mt)
bld.deps(b)