aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-23 15:17:52 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit911bb2856c3eb4c1a74fab281fcda7033aa5c6d6 (patch)
treedbd93cdae49a2812908713f2d9fccddf715e8693 /Makefile
parented9544ce6c9c9525f9fcf9c10d11010734c9da13 (diff)
downloaddexon-911bb2856c3eb4c1a74fab281fcda7033aa5c6d6.tar
dexon-911bb2856c3eb4c1a74fab281fcda7033aa5c6d6.tar.gz
dexon-911bb2856c3eb4c1a74fab281fcda7033aa5c6d6.tar.bz2
dexon-911bb2856c3eb4c1a74fab281fcda7033aa5c6d6.tar.lz
dexon-911bb2856c3eb4c1a74fab281fcda7033aa5c6d6.tar.xz
dexon-911bb2856c3eb4c1a74fab281fcda7033aa5c6d6.tar.zst
dexon-911bb2856c3eb4c1a74fab281fcda7033aa5c6d6.zip
vendor: use govendor to import dexon-consensus-core
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 966bf9cbb..b19c1e038 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
GOBIN = $(shell pwd)/build/bin
GO ?= latest
-geth:
+geth: libbls
build/env.sh go run build/ci.go install ./cmd/geth
@echo "Done building."
@echo "Run \"$(GOBIN)/geth\" to launch geth."
@@ -40,6 +40,9 @@ test: all
lint: ## Run linters.
build/env.sh go run build/ci.go lint
+libbls:
+ make -C vendor/github.com/dexon-foundation/bls lib/libbls384.a
+
clean:
./build/clean_go_build_cache.sh
rm -fr build/_workspace/pkg/ $(GOBIN)/*