diff --git a/Makefile b/Makefile index 0761fb775fc1b1994f934358ee90633a7296e075..a226488ccf14a2fde3dd39ff721d4c9469070741 100644 --- a/Makefile +++ b/Makefile @@ -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