added comment on $(Q)

This commit is contained in:
Yann Collet 2020-05-29 12:40:59 -07:00
parent 6ac6472988
commit 105b5839de

View File

@ -8,6 +8,7 @@
# You may select, at your option, one of the above-listed licenses. # You may select, at your option, one of the above-listed licenses.
# ################################################################ # ################################################################
# verbose mode (print commands) on V=1 or VERBOSE=1
Q = $(if $(filter 1,$(V) $(VERBOSE)),,@) Q = $(if $(filter 1,$(V) $(VERBOSE)),,@)
PRGDIR = programs PRGDIR = programs
@ -48,8 +49,8 @@ allmost: allzstd zlibwrapper
# skip zwrapper, can't build that on alternate architectures without the proper zlib installed # skip zwrapper, can't build that on alternate architectures without the proper zlib installed
.PHONY: allzstd .PHONY: allzstd
allzstd: lib-all allzstd: lib-all
$(MAKE) -C $(PRGDIR) all $(Q)$(MAKE) -C $(PRGDIR) all
$(MAKE) -C $(TESTDIR) all $(Q)$(MAKE) -C $(TESTDIR) all
.PHONY: all32 .PHONY: all32
all32: all32:
@ -82,12 +83,12 @@ test: MOREFLAGS += -g -DDEBUGLEVEL=$(DEBUGLEVEL) -Werror
test: test:
MOREFLAGS="$(MOREFLAGS)" $(MAKE) -j -C $(PRGDIR) allVariants MOREFLAGS="$(MOREFLAGS)" $(MAKE) -j -C $(PRGDIR) allVariants
$(MAKE) -C $(TESTDIR) $@ $(MAKE) -C $(TESTDIR) $@
ZSTD=../../programs/zstd $(MAKE) -C doc/educational_decoder test ZSTD=../../programs/zstd $(MAKE) -C doc/educational_decoder $@
## shortest: same as `make check` ## shortest: same as `make check`
.PHONY: shortest .PHONY: shortest
shortest: shortest:
$(MAKE) -C $(TESTDIR) $@ $(Q)$(MAKE) -C $(TESTDIR) $@
## check: run basic tests for `zstd` cli ## check: run basic tests for `zstd` cli
.PHONY: check .PHONY: check