From 5b17adb07169822d946c8d25b0d6a6547fbf3a83 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 2 Mar 2021 20:41:58 -0600 Subject: [PATCH] Make make output quiet --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 120a254..58080bf 100644 --- a/Makefile +++ b/Makefile @@ -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: