more correct build
This commit is contained in:
parent
6f08f22ca8
commit
331e75e348
7
Makefile
7
Makefile
|
@ -7,10 +7,13 @@ andlabs.so:
|
|||
GO111MODULE=off go build -v -buildmode=plugin -o andlabs.so \
|
||||
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
|
||||
|
||||
install:
|
||||
rm -f andlabs.so
|
||||
install: clean
|
||||
go build -v -buildmode=plugin -o ~/go/lib/andlabs-${VERSION}.so \
|
||||
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
|
||||
cd ~/go/lib && ln -f -s andlabs-${VERSION}.so andlabs.so
|
||||
|
||||
clean:
|
||||
rm -f andlabs andlabs.so
|
||||
|
||||
goget:
|
||||
GO111MODULE="off" go get -v -t -u
|
||||
|
|
Loading…
Reference in New Issue