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