aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAutumn2026-08-26 17:30:55 +0100
committerAutumn2026-08-26 17:30:55 +0100
commit967535f44673b18a12804d2b50e544dedb31d228 (patch)
tree2786f8ec36105ba5abdb76d9c08b5da9f6e4cdd7 /Makefile
parent29416d4a716ced3ea5efefe348bf63eec2497c7b (diff)
[build] add release support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1c90ad3..72adbd0 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,10 @@ ifdef DEBUG
LDFLAGS += -fsanitize=address
endif
+ifdef RELEASE
+ HAREFLAGS += -R
+endif
+
$(EXE):
LDFLAGS=$(LDFLAGS) $(HARE) build $(HAREFLAGS) -o $@