good morning!!!!

Skip to content
Snippets Groups Projects
Commit 8aa4597c authored by Péter Szilágyi's avatar Péter Szilágyi
Browse files

Merge pull request #2520 from karalabe/makefile-cross-update

Makefile: go build instead of install (solves cross compile issues)
parents 57ba1824 6a00a3ad
No related branches found
No related tags found
No related merge requests found
......@@ -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 ./...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment