aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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