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)
|
2024-12-11 11:34:45 +01:00
|
|
|
bin/authctl: $(SOURCE_FILES); $(Q)shards build authctl $(CRFLAGS)
|
2024-11-30 12:02:01 +01:00
|
|
|
build-server: bin/authd
|
2024-12-11 11:34:45 +01:00
|
|
|
build-client: bin/authctl
|
2024-11-30 12:02:01 +01:00
|
|
|
build: build-server build-client
|
|
|
|
|
|
|
|
release:; make build-server CRFLAGS="--progress --release"
|