mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:55:45 +01:00
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:
2
makefile
2
makefile
@@ -13,7 +13,7 @@ CSTD := c17
|
|||||||
CFLAGS := -Wall -Wextra -Wpedantic -Wno-pointer-arith -static
|
CFLAGS := -Wall -Wextra -Wpedantic -Wno-pointer-arith -static
|
||||||
LDFLAGS :=
|
LDFLAGS :=
|
||||||
|
|
||||||
ifeq ($(DEBUG),1)
|
ifneq ($(DEBUG),0)
|
||||||
CFLAGS += -g -Og
|
CFLAGS += -g -Og
|
||||||
PROF := dbg
|
PROF := dbg
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user