summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2009-09-14 23:29:50 -0700
committerDan Nicholson <dbn.lists@gmail.com>2009-09-16 06:33:53 -0700
commitcca982f71d0623749d13f99c2ef27b9e49c7101b (patch)
treee77f4d4d245a57a121cd85e672e8ca21553a677f
parent6e93d770b9733379b3a3e322887b13c9b5a39033 (diff)
Add silent rules for invoking mc
-rw-r--r--xts5/common.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/xts5/common.mk b/xts5/common.mk
index 2f8dd2f1..07ded7e2 100644
--- a/xts5/common.mk
+++ b/xts5/common.mk
@@ -7,10 +7,13 @@
# The code generator for turning .m files to .c files.
SUFFIXES = .m _m.c .c
MC = $(top_builddir)/xts5/src/bin/mc/mc
+AM_V_mc = $(AM_V_mc_$(V))
+AM_V_mc_ = $(AM_V_mc_$(AM_DEFAULT_VERBOSITY))
+AM_V_mc_0 = @echo MC $@;
.m.c:
- TET_ROOT='$(TET_ROOT)' $(MC) -o $@ $<
+ $(AM_V_mc)TET_ROOT='$(TET_ROOT)' $(MC) -o $@ $<
.m_m.c:
- TET_ROOT='$(TET_ROOT)' $(MC) -m -o $@ $<
+ $(AM_V_mc)TET_ROOT='$(TET_ROOT)' $(MC) -m -o $@ $<
# Test scenario executor - The tests are run by tcc where the argument
# is the scenario name in the tet_scen file.