handshake/Makefile
Vincent Batts 4c8aa9909f
initial handshake
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-10-12 15:37:06 -04:00

17 lines
270 B
Makefile

PACKAGES=$(shell go list ./... | grep -v /vendor/)
REVISION=$(shell git rev-parse HEAD)
DEBUG=0
ifeq ($(DEBUG),1)
D =
else
D = @
endif
all: build
protos:
$(D)protobuild --quiet ${PACKAGES}
build:
$(D)CGO_ENABLED=0 go build -v -ldflags '-extldflags "-static"' .