feat(config.mk): add DEBUG flag to build options

This commit is contained in:
Tom MTT. 2022-11-29 10:39:14 +01:00
parent bf42903592
commit 2ed08dc596

View file

@ -18,7 +18,7 @@ LIBS = -L/usr/lib -lc
CC = cc
# debug build
CFLAGS = -g -std=c99 -Wall -Wextra -Wpedantic -Wno-sign-compare -DVERSION=\"$(VERSION)\" $(INCS)
CFLAGS = -g -std=c99 -Wall -Wextra -Wpedantic -Wno-sign-compare -DVERSION=\"$(VERSION)\" -DDEBUG $(INCS)
LDFLAGS = -g $(LIBS)
# release build