summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-04 10:56:45 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-04 10:56:45 -0800
commit88cbe95a616e1cd947d0e30ab19368602b00b753 (patch)
treea7f000223eddecffac38d6985899860ec9de3aff /mbld
parent63a4761cd85ae3d8c5c2ce6327b29886215ef2b8 (diff)
downloadmc-88cbe95a616e1cd947d0e30ab19368602b00b753.tar.gz
Make building less noisy.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/build.myr4
-rw-r--r--mbld/util.myr5
2 files changed, 2 insertions, 7 deletions
diff --git a/mbld/build.myr b/mbld/build.myr
index 56283d7..2abdc5e 100644
--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -117,7 +117,7 @@ const buildbin = {b, targ, addsrc
setdir(b, targ.dir)
addincludes(b, targ)
- std.put("{}...\n", targ.name)
+ std.put("{}/{}...\n", b.curdir, targ.name)
dg = myrdeps(b, targ, false, addsrc)
if !std.hthas(dg.deps, targ.name)
std.fatal("no input files for {}\n", targ.name)
@@ -145,7 +145,7 @@ const buildlib = {b, targ
setdir(b, targ.dir)
addincludes(b, targ)
lib = targ.name
- std.put("lib{}.a...\n", lib)
+ std.put("{}/lib{}.a...\n", b.curdir, lib)
archive = std.fmt("lib{}.a", lib)
dg = myrdeps(b, targ, false, false)
if !std.hthas(dg.deps, lib)
diff --git a/mbld/util.myr b/mbld/util.myr
index c5da448..edcbf8c 100644
--- a/mbld/util.myr
+++ b/mbld/util.myr
@@ -110,11 +110,6 @@ const setdir = {b, dir
if !std.sleq(b.curdir, dir)
p = std.pathcat(b.basedir, dir)
- if b.curdir.len != 0
- std.put("Leaving directory '{}'\n", b.curdir)
- ;;
-
- std.put("Entering directory '{}'\n", dir)
if !std.chdir(p)
std.fatal("could not cd into {}\n", p)
;;