Use parentheses
This commit is contained in:
parent
5b17adb071
commit
78c7572139
10
Makefile
10
Makefile
@ -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)
|
Loading…
Reference in New Issue
Block a user