From 90d3d049a49261a126f9ade3349539b33a8eba0c Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Mon, 16 Mar 2009 17:36:28 +0100 Subject: [PATCH] Added option TERSE to the makefile which does not display any information on stdout. --- GNUmakefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 8f18f5d..49bb8ca 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -14,6 +14,7 @@ USE_BIGENDIAN ?= AUTO BITS ?= AUTO SILENT ?= YES LDLIBS += -levent +TERSE ?= NO ifeq ($(OS), Windows_NT) @@ -48,6 +49,18 @@ else MSG_AR= endif +ifeq ($(TERSE), YES) + MSG_CC=@ + MSG_PCH=@ + MSG_LD=@ + MSG_AR=@ + MSG_CLEAN=-n "" +else + MSG_CLEAN="Clean as a whistle" +endif + + + CFLAGS += -I/source/libevent LDFLAGS += -L/source/libevent @@ -239,7 +252,7 @@ dist-clean: clean: @rm -rf $(libuhub_OBJECTS) $(PCH) *~ core $(uhub_BINARY) $(LIBUHUB) $(all_OBJECTS) && \ - echo Clean as a whistle + echo $(MSG_CLEAN) -include release_targets.mk