Add QUIET=1 option for make

This can be used to reduce verbosity for build messages.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-12-26 12:49:03 +02:00
parent 31705bf4fc
commit 010fa245bd
4 changed files with 20 additions and 2 deletions

View file

@ -15,6 +15,10 @@ ifeq ($(V), 1)
Q=
E=true
endif
ifeq ($(QUIET), 1)
Q=@
E=true
endif
%.o: %.c
$(Q)$(CC) -c -o $@ $(CFLAGS) $<