From 77833dbdc627f0c5ffecb0fa1b12a50b9fd8b2d4 Mon Sep 17 00:00:00 2001 From: tnextday Date: Tue, 5 Apr 2016 12:58:06 +0800 Subject: [PATCH] update --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 80949ef65..69391c8ec 100644 --- a/Makefile +++ b/Makefile @@ -23,5 +23,5 @@ build: fmt go build $(GO_FLAGS) -o $(OUT_DIR)/$(BINARY) $(SOURCE_DIR) linux: - mkdir -p $(OUT_DIR) - GOOS=linux GOARCH=amd64 go build $(GO_FLAGS) -o $(OUT_DIR)/$(BINARY)-linux-amd64 $(SOURCE_DIR) + mkdir -p $(OUT_DIR)/linux-amd64 + GOOS=linux GOARCH=amd64 go build $(GO_FLAGS) -o $(OUT_DIR)/linux-amd64/$(BINARY) $(SOURCE_DIR)