summaryrefslogtreecommitdiff
path: root/lib/make/make.thornlib
diff options
context:
space:
mode:
authorknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-09-27 04:10:08 +0000
committerknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-09-27 04:10:08 +0000
commitaeebc07e94b8a96c9634b9fdf3a191bcab304a98 (patch)
treea7da38575bea46917a671b1913bb1d3957cd1c52 /lib/make/make.thornlib
parentf8dbd5ccb2c56ea0aa3a5c633fecfa4be576a780 (diff)
Replace the SILENT option with a VERBOSE option (of opposite meaning). Default
is still VERBOSE=no, but this now actually produces a lot less output: almost no "cosmetic" lines (only ---), and no messages for pre- and postprocessing anymore. Add VERBOSE=yes to get the old beavior of SILENT=no. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4737 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.thornlib')
-rw-r--r--lib/make/make.thornlib7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/make/make.thornlib b/lib/make/make.thornlib
index 87dd6ffa..c246ddab 100644
--- a/lib/make/make.thornlib
+++ b/lib/make/make.thornlib
@@ -9,11 +9,14 @@
# @@*/
# Silence all but designated output
-#.SILENT:
+#.VERBOSE:
# Dividers to make the screen output slightly nicer
DIVEL = __________________
DIVIDER = $(DIVEL)$(DIVEL)$(DIVEL)$(DIVEL)
+define NOTIFY_DIVIDER
+ { if test "$(VERBOSE)" == "yes"; then echo $(DIVIDER); fi }
+endef
# Include the main make definitions for this configuration
include $(CONFIG)/make.config.defn
@@ -98,7 +101,7 @@ $(NAME): $(addsuffix /make.checked, $(SUBDIRS) $(THORNBINDINGS))
## to do: use a two-level namespace
## (this requires knowing the dependencies of each thorn library)
# libtool -dynamic -arch_only ppc -o $@ $(OBJS) -flat_namespace -undefined suppress -single_module
- @echo $(DIVIDER)
+ $(NOTIFY_DIVIDER)
# Extra stuff for allowing make to recurse into directories