Compile with options (release mode).

master
Philippe Pittoli 2024-03-17 05:40:48 +01:00
parent 5ac733cbc3
commit ab18c0005d
1 changed files with 3 additions and 2 deletions

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