summaryrefslogtreecommitdiff
path: root/Makefile
blob: 857255ec8a9e73ad9e3a617608f35b329f404703 (plain)
1
2
3
4
5
6
7
8
9
10
11
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