diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..857255e --- /dev/null +++ b/Makefile @@ -0,0 +1,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 |