summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-29 14:15:59 -0500
committerJeff Carr <[email protected]>2025-10-29 14:15:59 -0500
commit8191bea6f1e41331dd80ca4b890fb51d3345501f (patch)
treee3d341312e844fc72975a38d975c2938c570912a
parentcf5c8e836b30518eabd52400b7d9b229a6530580 (diff)
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 46d13eb..a6a13ad 100644
--- a/Makefile
+++ b/Makefile
@@ -9,9 +9,10 @@ nocui:
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
install: clean
- go build -buildmode=plugin -o ~/go/lib/nocui-${VERSION}.so \
+ mkdir -p ~/go/lib/plugins
+ go build -buildmode=plugin -o ~/go/lib/plugins/nocui-${VERSION}.so \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
- cd ~/go/lib && ln -f -s nocui-${VERSION}.so nocui.so
+ cd ~/go/lib/plugins && ln -f -s nocui-${VERSION}.so nocui.so
clean:
rm -f nocui nocui.so