Added option TERSE to the makefile which does not display any information on stdout.

This commit is contained in:
Jan Vidar Krey 2009-03-16 17:36:28 +01:00
parent 5f3447c822
commit 90d3d049a4
1 changed files with 14 additions and 1 deletions

View File

@ -14,6 +14,7 @@ USE_BIGENDIAN ?= AUTO
BITS ?= AUTO BITS ?= AUTO
SILENT ?= YES SILENT ?= YES
LDLIBS += -levent LDLIBS += -levent
TERSE ?= NO
ifeq ($(OS), Windows_NT) ifeq ($(OS), Windows_NT)
@ -48,6 +49,18 @@ else
MSG_AR= MSG_AR=
endif 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 CFLAGS += -I/source/libevent
LDFLAGS += -L/source/libevent LDFLAGS += -L/source/libevent
@ -239,7 +252,7 @@ dist-clean:
clean: clean:
@rm -rf $(libuhub_OBJECTS) $(PCH) *~ core $(uhub_BINARY) $(LIBUHUB) $(all_OBJECTS) && \ @rm -rf $(libuhub_OBJECTS) $(PCH) *~ core $(uhub_BINARY) $(LIBUHUB) $(all_OBJECTS) && \
echo Clean as a whistle echo $(MSG_CLEAN)
-include release_targets.mk -include release_targets.mk