summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5a97685305ef297174d191fec9bc1b52a6780eea (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 $@ -x -ldflags " -X 'main.version=${VERSION}' -X 'main.build=${BUILD}'"

clean:
	rm -f cacert-boardvoting

.PHONY: clean