summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-08-27 02:34:06 -0700
committerOri Bernstein <ori@eigenstate.org>2017-08-27 02:34:06 -0700
commitf0dd01e68f92fc10633bf6cb78de833b790550f2 (patch)
treebf0bb07700be4ad59c5d4514b3a066bb8585e1e1 /mbld
parent0ffaabebcf294f1488a26f84c9f6ff3621d8319d (diff)
downloadmc-f0dd01e68f92fc10633bf6cb78de833b790550f2.tar.gz
Set no objdir with `-b`.
If I say build `binary b`, then build that binary.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/main.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbld/main.myr b/mbld/main.myr
index 50aa373..84bf4fd 100644
--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -120,6 +120,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)