From 3ac6b2486a7f17e96ea8d812437ed9bad8662260 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 18 Jan 2024 00:08:37 -0600 Subject: init move into seperate repo. all history lost :( Signed-off-by: Jeff Carr --- Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fffcfa7 --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +all: plugin + ldd ../gocui.so + +plugin: + GO111MODULE=off go build -v -buildmode=plugin -o ../gocui.so + +goget: + go get -v -t -u + +objdump: + objdump -t ../gocui.so |less + +log: + reset + tail -f /tmp/witgui.* /tmp/guilogfile + +cleanbuild: + go build -v -x -buildmode=plugin -o ../nocui.so + +check-git-clean: + @git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1) + +redomod: + rm -f go.* + GO111MODULE= go mod init + GO111MODULE= go mod tidy -- cgit v1.2.3