From de6fcd17ee24b1177a7acceb301f0852293ac1a0 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 5 Feb 2026 05:17:25 +0000 Subject: [PATCH] Makefile: added mode flag for full logs MODE=full will initialise a debug build with all logs, including test logs. Otherwise, MODE=debug just sets up standard debug build with main logs but no testing logs. MODE=release optimises and strips all logs. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 06087c6..31ebd24 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,10 @@ RFLAGS=-O3 MODE=release ifeq ($(MODE), release) CFLAGS=$(GFLAGS) $(RFLAGS) -else +else ifeq ($(MODE), debug) CFLAGS=$(GFLAGS) $(DFLAGS) +else ifeq ($(MODE), full) +CFLAGS=$(GFLAGS) $(DFLAGS) -DTEST_VERBOSE=1 endif # Units to compile