Make make output quiet

This commit is contained in:
Ryan Cavicchioni 2021-03-02 20:41:58 -06:00
parent 38ab315a9b
commit 5b17adb071
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -1,3 +1,5 @@
V ?= 0
Q = $(if $(filter 1, $V),, @)
ifeq ($(OS), Windows_NT)
EXE=lume.exe
@ -16,7 +18,7 @@ LDFLAGS := ${LDFLAGS} \
.PHONY: build
build:
go build -o ${EXE} -ldflags="${LDFLAGS}" ./cmd/lume
$(Q) go build -o ${EXE} -ldflags="${LDFLAGS}" ./cmd/lume
.PHONY: clean
clean: