summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 701676e..5721c75 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,15 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d)
-all: plugin
+all: clean goimports plugin
#ldd fyne.so
+deps:
+ sudo apt install libxxf86vm-dev libxxf86vm1
+
plugin:
- GO111MODULE=off go build -v -buildmode=plugin -o fyne.so
+ # LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/ GO111MODULE=off go build -v -x -buildmode=plugin -o fyne.so
+ GO111MODULE=off go build -v -x -buildmode=plugin -o fyne.so
install: clean
go build -v -buildmode=plugin -o ~/go/lib/fyne-${VERSION}.so \