From a78cd82dcdea71fbeb15a6b938780a11077a167c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 1 Feb 2025 11:42:31 -0600 Subject: GPL 3.0 --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 853c4ff..becff5b 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,14 @@ VERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%Y.%m.%d) -all: clean gocui.so +all: gocui.so @#ldd gocui.so gocui.so: goimports GO111MODULE=off go build -v -work -buildmode=plugin -o gocui.so \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" -install: clean +install: go build -buildmode=plugin -o ~/go/lib/gocui-${VERSION}.so \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" cd ~/go/lib && ln -f -s gocui-${VERSION}.so gocui.so @@ -44,8 +44,5 @@ redomod: GO111MODULE= go mod init GO111MODULE= go mod tidy -view: - autogenpb --proto view.proto - -view.pb.go: view.proto +proto: autogenpb --proto view.proto -- cgit v1.2.3