.DEFAULT_GOAL := buildCmd .PHONY: fmt vet build fmt: go fmt ./... vet: fmt go vet ./... buildLib: vet go build -gcflags="-N -l" ./... buildCmd: buildLib go build -C cmd/ -o re ./...