Use parentheses

This commit is contained in:
Ryan Cavicchioni 2021-03-03 00:29:40 -06:00
parent 5b17adb071
commit 78c7572139
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -12,14 +12,14 @@ else
endif endif
LUME_VERSION ?= $(shell git describe --tags --always) LUME_VERSION ?= $(shell git describe --tags --always)
LDFLAGS := ${LDFLAGS} \ LDFLAGS := $(LDFLAGS) \
-X git.kill0.net/chill9/lume/cmd.Version=${LUME_VERSION} \ -X git.kill0.net/chill9/lume/cmd.Version=$(LUME_VERSION) \
-X git.kill0.net/chill9/lume/cmd.BuildDate=${BUILD_DATE} -X git.kill0.net/chill9/lume/cmd.BuildDate=$(BUILD_DATE)
.PHONY: build .PHONY: build
build: build:
$(Q) go build -o ${EXE} -ldflags="${LDFLAGS}" ./cmd/lume $(Q) go build -o $(EXE) -ldflags="$(LDFLAGS)" ./cmd/lume
.PHONY: clean .PHONY: clean
clean: clean:
${RM} ${EXE} $(RM) $(EXE)