Remove unnecessary makefile option
This commit is contained in:
parent
48486cc205
commit
d8c439aad9
4
Makefile
4
Makefile
@ -3,7 +3,7 @@
|
|||||||
BINARY=pndpd
|
BINARY=pndpd
|
||||||
MODULES=
|
MODULES=
|
||||||
VERSION=`git describe --tags`
|
VERSION=`git describe --tags`
|
||||||
LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"
|
LDFLAGS=-ldflags "-X main.Version=${VERSION}"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -tags=${MODULES} -o bin/${BINARY} .
|
go build -tags=${MODULES} -o bin/${BINARY} .
|
||||||
@ -18,4 +18,4 @@ release-all:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
find bin/ -type f -delete
|
find bin/ -type f -delete
|
||||||
if [ -d "bin/" ]; then rm -d bin/ ;fi
|
if [ -d "bin/" ]; then rm -d bin/ ;fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user