twitchsingstools/Makefile
Martyn Ranyard 0ac377da90 initial commit
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2020-07-14 20:57:50 +02:00

14 lines
253 B
Makefile
Executable file

BUILD=`date +%FT%T%z`
LDFLAGS=-ldflags "-X main.buildDate=${BUILD}"
.PHONY: build deps static
build:
go build ${LDFLAGS}
deps:
go get
static:
CGO_ENABLED=0 GOOS=linux go build ${LDFLAGS} -a -installsuffix cgo -o twitchsingstools .