cacert-boardvoting/Makefile

12 lines
293 B
Makefile
Raw Normal View History

2017-04-18 14:07:54 +00:00
VERSION := $(shell git describe --always --dirty=-dev)
BUILD := $(shell date --iso-8601=seconds --utc)
GOFILES := $(wildcard *.go)
cacert-boardvoting: ${GOFILES}
go build -o $@ -ldflags "-X 'main.version=${VERSION}' -X 'main.build=${BUILD}'"
clean:
rm -f cacert-boardvoting
.PHONY: clean