simplified silent mode maintenance

This commit is contained in:
Yann Collet
2020-10-23 10:41:17 -07:00
parent ffe8d9e428
commit 89b961ea46
2 changed files with 41 additions and 37 deletions
+5 -2
View File
@@ -8,6 +8,9 @@
# You may select, at your option, one of the above-listed licenses.
# ################################################################
.PHONY: default
default: lib-release
# define silent mode as default (verbose mode with V=1 or VERBOSE=1)
$(V)$(VERBOSE).SILENT:
@@ -211,7 +214,7 @@ else
endif
.PHONY: default lib-all all clean install uninstall
.PHONY: lib-all all clean install uninstall
default: lib-release
@@ -235,7 +238,7 @@ else
ZSTD_STATLIB_DIR := $(BUILD_DIR)/static
ZSTD_STATLIB := $(ZSTD_STATLIB_DIR)/libzstd.a
ZSTD_STATLIB_OBJ := $(addprefix $(ZSTD_STATLIB_DIR)/,$(ZSTD_LOCAL_OBJ))
$(ZSTD_STATLIB): ARFLAGS ?= rcs
$(ZSTD_STATLIB): ARFLAGS = rcs
$(ZSTD_STATLIB): | $(ZSTD_STATLIB_DIR)
$(ZSTD_STATLIB): $(ZSTD_STATLIB_OBJ)
@echo compiling static library