REPO=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) all: srndv2 srndv2: GOPATH=$(REPO) go build -v clean: GOPATH=$(REPO) go clean -v