From ac5cad753c7dbac31756a2fffd85625b1431eaa5 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 8 Sep 2024 18:23:58 +0200 Subject: Maakbestand: ontinsectmodus --- Maakbestand | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Maakbestand b/Maakbestand index c70332d..cf87dd4 100644 --- a/Maakbestand +++ b/Maakbestand @@ -3,7 +3,12 @@ VERSION := $(shell ./versie.sh) PREFIX ?= /usr CC := gcc -CFLAGS := -Wall -Wextra -std=c2x -O2 +CFLAGS := -Wall -Wextra -std=c2x +ifeq ($(DEBUG),) + CFLAGS += -O2 +else + CFLAGS += -Og -g +endif CFLAGS += -D_GNU_SOURCE -DDRUKKEDOOS_VERSIE=\"$(VERSION)\" CFLAGS += -Isrc -I. LDFLAGS := -- cgit v1.2.3-70-g09d2