authorizer/Makefile

7 lines
222 B
Makefile
Raw Normal View History

DEFAULT_VERSION=0.1.0-local
VERSION := $(or $(VERSION),$(DEFAULT_VERSION))
cmd:
2021-09-11 07:15:04 +00:00
cd server && CGO_ENABLED=1 GOOS=$(GOOS) CC=$(CC) go build -ldflags "-w -X main.Version=$(VERSION)" -o '../build/server'
clean:
rm -rf build