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

View File

@ -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