Skip to content
Snippets Groups Projects
Commit ba26e662 authored by Yorhel's avatar Yorhel
Browse files

Makefile: Add ZIG_FLAGS variable

Fixes #185
parent 2b23951e
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,12 @@
PREFIX ?= /usr/local
BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/share/man/man1
ZIG_FLAGS ?= -Drelease-fast
NCDU_VERSION=$(shell grep 'program_version = "' src/main.zig | sed -e 's/^.*"\(.\+\)".*$$/\1/')
release:
zig build -Drelease-fast
zig build ${ZIG_FLAGS}
debug:
zig build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment