From 76d61cc2bcbe098fedf637d9aa871cc122ffe231 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Thu, 5 Oct 2017 08:07:12 -0600 Subject: [PATCH] use defaults for GOPATH --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0e8274a..ba359b6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ SRC := $(wildcard *.go) main/client.go BIN := bin CLIENT := ${BIN}/client -GOPATH ?= ${PWD} all: test client @@ -9,10 +8,10 @@ client: ${CLIENT} ${CLIENT}: ${SRC} @echo build $@ - @GOPATH=${GOPATH} go build -o $@ -- main/client.go + go build -o $@ -- main/client.go test: - @GOPATH=${GOPATH} go test + go test clean: @echo clean ${BIN}