diff options
| author | Jeff Carr <[email protected]> | 2025-02-01 11:42:31 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-01 11:42:31 -0600 |
| commit | a78cd82dcdea71fbeb15a6b938780a11077a167c (patch) | |
| tree | d2ec02469cc9fc50c3afac431a8ebd26df5c0e29 /Makefile | |
| parent | a8a918655a4831c3682730fdf7fe54de98837681 (diff) | |
GPL 3.0
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 |
