summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-06-08 10:26:58 +0200
committerRuben Pollan <meskio@sindominio.net>2018-06-20 12:18:03 +0200
commitfcc7514ec5f1b35068b1033d8ac4278c45043a80 (patch)
tree0ad4d5f4d650ab2a01879e4f31faedf848c39287 /Makefile
parent11094e0f58e1f28f5333a91f3c4129b56ad154e6 (diff)
[feat] pure go bitmask vpn implemenation
- Resolves: #42
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 33a2d6c..74c0c44 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,20 @@
-.PHONY: all get build icon locales generate_locales clean
+.PHONY: all get build build_go icon locales generate_locales clean
+
+TAGS ?= gtk_3_18
all: icon locales get build
get:
- go get -tags 'gtk_3_18' .
+ go get -tags $(TAGS) . ./bitmask_go
build:
- go build -tags 'gtk_3_18' -ldflags "-X main.version=`git describe --tags`"
+ go build -tags $(TAGS) -ldflags "-X main.version=`git describe --tags`"
test:
- go test -tags 'gtk_3_18' ./...
+ go test -tags $(TAGS) ./...
+
+build_go:
+ go build -tags "$(TAGS) bitmask_go" -ldflags "-X main.version=`git describe --tags`"
clean:
make -C icon clean