Make make output quiet
This commit is contained in:
parent
38ab315a9b
commit
5b17adb071
4
Makefile
4
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:
|
||||
|
Loading…
Reference in New Issue
Block a user