24 lines
362 B
Makefile
24 lines
362 B
Makefile
all: plugin
|
|
ldd ../gocui.so
|
|
|
|
plugin:
|
|
GO111MODULE=off go build -v -buildmode=plugin -o ../gocui.so
|
|
|
|
pluginreal:
|
|
go build -v -buildmode=plugin -o ~/go/lib/gocui.so
|
|
|
|
objdump:
|
|
objdump -t ../gocui.so |less
|
|
|
|
log:
|
|
reset
|
|
tail -f /tmp/witgui.* /tmp/guilogfile
|
|
|
|
goimports:
|
|
goimports -w *.go
|
|
|
|
redomod:
|
|
rm -f go.*
|
|
GO111MODULE= go mod init
|
|
GO111MODULE= go mod tidy
|