Switch GOPATH to the local directory in Makefile

Former-commit-id: ae00f1136021e6fcd5047aadb4762653cf003d5d
This commit is contained in:
2024-02-27 07:22:57 +01:00
parent 1542ce4c63
commit 38c49e9f38
3 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,7 @@
export GOPATH=$(shell pwd)/GO
export GOBIN=$(GOPATH)/bin
export PATH=$(GOBIN):$(shell echo $${PATH})
GOCMD=go
GOBUILD=$(GOCMD) build # -compiler gccgo -gccgoflags -O3
GOCLEAN=$(GOCMD) clean