flip the DEBUG condition to check for non-0, rather than 1.

this way debug can be set to `true` or anything other than `0`, to
enable it, which makes more semantic sense.
This commit is contained in:
Quinn
2025-04-13 23:57:17 +02:00
committed by Quinn
parent bb7cbd22d5
commit 62e0c149cc

View File

@@ -13,7 +13,7 @@ CSTD := c17
CFLAGS := -Wall -Wextra -Wpedantic -Wno-pointer-arith -static
LDFLAGS :=
ifeq ($(DEBUG),1)
ifneq ($(DEBUG),0)
CFLAGS += -g -Og
PROF := dbg
else