go-dht/Makefile

16 lines
174 B
Makefile

LDFLAGS = -trimpath -ldflags="-w -s"
all: get
go build $(LDFLAGS) ./cmd/...
test: get
go test -v
get:
go get
clean:
rm -f go.sum example
.PHONY: get clean test