From edc12f087490e9be3e17ddc061c1998010b343fb Mon Sep 17 00:00:00 2001 From: Kirill Zaitsev Date: Sun, 13 Mar 2016 21:38:43 +0300 Subject: [PATCH] Cleanup Makefile --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 81dbe01..a8c3530 100644 --- a/Makefile +++ b/Makefile @@ -2,15 +2,12 @@ VERSION := $(shell if [ -z "$$TRAVIS_TAG" ]; then echo "dev"; else echo "$$TRAVIS_TAG" | tail -c +2; fi) -all: deps crosscompile version dist +all: deps crosscompile dist deps: go get github.com/mitchellh/gox go get ./... -build: - go build grvm.go - crosscompile: gox --osarch="linux/amd64" --output="crosscompile/linux_amd64_grvm" --ldflags='-X main.version=${VERSION}' gox --osarch="linux/386" --output="crosscompile/linux_386_grvm" --ldflags='-X main.version=${VERSION}'