Compile with options (release mode).

This commit is contained in:
Philippe Pittoli 2024-03-17 05:40:48 +01:00
parent 5ac733cbc3
commit ab18c0005d

View File

@ -2,6 +2,7 @@ all: build
Q ?= @
SHOULD_UPDATE = ./bin/should-update
OPTS ?=
NAME ?= John
EMAIL ?= john@example.com
@ -64,9 +65,9 @@ permission-set:
###################
build-server:
$(Q)-$(SHOULD_UPDATE) bin/authd && shards build authd
$(Q)-$(SHOULD_UPDATE) bin/authd && shards build authd $(OPTS)
build-client:
$(Q)-$(SHOULD_UPDATE) bin/authc && shards build authc
$(Q)-$(SHOULD_UPDATE) bin/authc && shards build authc $(OPTS)
build: build-server build-client