diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-05-06 21:56:22 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-05-06 21:56:22 +0800 |
commit | 6a00a3ade157a08b36af304ae11849fa7f9fe6e7 (patch) | |
tree | 0e87ac063b7bb2b88d4b628a6fe6028ec84bd556 /Makefile | |
parent | a1c201a5ac977bd090ca07fecdb29f494afb5ce2 (diff) | |
download | go-tangerine-6a00a3ade157a08b36af304ae11849fa7f9fe6e7.tar go-tangerine-6a00a3ade157a08b36af304ae11849fa7f9fe6e7.tar.gz go-tangerine-6a00a3ade157a08b36af304ae11849fa7f9fe6e7.tar.bz2 go-tangerine-6a00a3ade157a08b36af304ae11849fa7f9fe6e7.tar.lz go-tangerine-6a00a3ade157a08b36af304ae11849fa7f9fe6e7.tar.xz go-tangerine-6a00a3ade157a08b36af304ae11849fa7f9fe6e7.tar.zst go-tangerine-6a00a3ade157a08b36af304ae11849fa7f9fe6e7.zip |
Makefile: go build instead of install (solves cross compile issues)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,7 +13,7 @@ GOBIN = build/bin GO ?= latest geth: - build/env.sh go install -v $(shell build/flags.sh) ./cmd/geth + build/env.sh go build -i -v $(shell build/flags.sh) -o $(GOBIN)/geth ./cmd/geth @echo "Done building." @echo "Run \"$(GOBIN)/geth\" to launch geth." @@ -103,7 +103,9 @@ evm: @echo "Run \"$(GOBIN)/evm to start the evm." all: - build/env.sh go install -v $(shell build/flags.sh) ./... + for cmd in `ls ./cmd/`; do \ + build/env.sh go build -i -v $(shell build/flags.sh) -o $(GOBIN)/$$cmd ./cmd/$$cmd; \ + done test: all build/env.sh go test ./... |