summaryrefslogtreecommitdiff
path: root/Makefile
blob: c8926c53836b35c3f79e9bdec292bfccbb687aad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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