summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9d335b2..34e08a2 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,10 @@ gocui:
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
install:
- go build -buildmode=plugin -o ~/go/lib/gocui-${VERSION}.so \
+ mkdir -p ~/go/lib/plugins
+ go build -buildmode=plugin -o ~/go/lib/plugins/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
+ cd ~/go/lib/plugins/ && ln -f -s gocui-${VERSION}.so gocui.so
# for testing custom golang
custom: