aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-09-18 15:56:57 -0400
committernodist <kevin.comas.git@gmail.com>2026-09-18 15:56:57 -0400
commit87dfa262eb6d6b816351c03a01cc837a32b91ab4 (patch)
treef5ba1cc0f712fab107684ecce34b2a34fbb80676 /Makefile
parented19c8d27e2abf768ed2db33077330918b48ef84 (diff)
use assoc array insted of case stmt for vm.sh script command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cf2f008..134e338 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,10 @@ CCOBJ = $(CC) $(CFLAGS) -o $@ $^
SOURCE_OBJECTS := $(patsubst %.c, %.o, $(wildcard ./source/*.c))
TEST_OBJECTS := $(patsubst %.c, %.o, $(wildcard ./test/*.c))
+ifdef KPL_COLOR_OFF
+FLAGS += -DKPL_COLOR_OFF
+endif
+
kpl: OO := -O2
kpl: WFLAGS += -Werror
kpl: FLAGS += -DKPL_MAIN