summaryrefslogtreecommitdiff
path: root/toolkit/hello/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/hello/Makefile')
-rw-r--r--toolkit/hello/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolkit/hello/Makefile b/toolkit/hello/Makefile
new file mode 100644
index 0000000..8271843
--- /dev/null
+++ b/toolkit/hello/Makefile
@@ -0,0 +1,8 @@
+all: plugin
+ ldd ../hello.so
+
+build:
+ GO111MODULE="off" go build
+
+plugin:
+ GO111MODULE="off" go build -buildmode=plugin -o ../hello.so