authd/mk/build.mk

11 lines
355 B
Makefile

SOURCE_FILES = $(wildcard src/*.cr src/*/*.cr src/*/*/*.cr)
CRFLAGS ?= --progress
bin/authd: $(SOURCE_FILES); $(Q)shards build authd $(CRFLAGS)
bin/authctl: $(SOURCE_FILES); $(Q)shards build authctl $(CRFLAGS)
build-server: bin/authd
build-client: bin/authctl
build: build-server build-client
release:; make build-server CRFLAGS="--progress --release"