11 lines
349 B
Makefile
11 lines
349 B
Makefile
|
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"
|