Make make output quiet
This commit is contained in:
parent
09fb7caebd
commit
f90e938421
4
Makefile
4
Makefile
@ -1,3 +1,5 @@
|
|||||||
|
V ?= 0
|
||||||
|
Q = $(if $(filter 1, $V),, @)
|
||||||
|
|
||||||
ifeq ($(OS), Windows_NT)
|
ifeq ($(OS), Windows_NT)
|
||||||
EXE=lume.exe
|
EXE=lume.exe
|
||||||
@ -16,7 +18,7 @@ LDFLAGS := ${LDFLAGS} \
|
|||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
go build -o ${EXE} -ldflags="${LDFLAGS}" ./cmd/lume
|
$(Q) go build -o ${EXE} -ldflags="${LDFLAGS}" ./cmd/lume
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user