authd/mk/build.mk

11 lines
349 B
Makefile
Raw Permalink Normal View History

2024-11-30 12:02:01 +01:00
SOURCE_FILES = $(wildcard src/*.cr src/*/*.cr src/*/*/*.cr)
CRFLAGS ?= --progress
bin/authd: $(SOURCE_FILES); $(Q)shards build authd $(CRFLAGS)
bin/authc: $(SOURCE_FILES); $(Q)shards build authc $(CRFLAGS)
build-server: bin/authd
build-client: bin/authc
build: build-server build-client
release:; make build-server CRFLAGS="--progress --release"