2 github.com/mitchellh/gox \
3 github.com/Masterminds/glide
4 PACKAGES = $(shell go list ./... | grep -v '/vendor/' | grep -v '/rpc/')
8 install: get_vendor_deps
9 @go install --ldflags '-extldflags "-static"' \
10 --ldflags "-X github.com/Bytom/blockchain/version.GitCommit=`git rev-parse HEAD`" ./node/
13 get_vendor_deps: ensure_tools
15 @echo "====> Running glide install"
22 @echo "====> Running go test"
25 .PHONY: install get_vendor_deps ensure_tools test