Browse Source

Modify makefile

pull/489/head
Adrian Brink 8 years ago
parent
commit
cd3c3c3bad
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      Makefile

+ 3
- 2
Makefile View File

@ -8,10 +8,11 @@ TMHOME = $${TMHOME:-$$HOME/.tendermint}
all: install test
install: get_vendor_deps
@go install --ldflags '-extldflags "-static"' ./cmd/tendermint
@go install --ldflags '-extldflags "-static"' \
--ldflags "-X github.com/tendermint/tendermint/version.GitCommit=`git rev-parse HEAD`" ./cmd/tendermint
build:
go build --ldflags '-extldflags "-static"' \
go build \
--ldflags "-X github.com/tendermint/tendermint/version.GitCommit=`git rev-parse HEAD`" -o build/tendermint ./cmd/tendermint/
build_race:


Loading…
Cancel
Save