mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-06-28 00:58:00 +02:00
14 lines
288 B
Makefile
14 lines
288 B
Makefile
export GO ?= go
|
|
|
|
TAG := $(shell git describe --always --tags $(git rev-list --tags --max-count=1) --match v*)
|
|
|
|
.PHONY: all
|
|
all: wireproxy
|
|
|
|
.PHONY: wireproxy
|
|
wireproxy:
|
|
${GO} build -trimpath -ldflags "-s -w -X 'main.version=${TAG}'" ./cmd/wireproxy
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
${RM} wireproxy
|