summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-08-10 01:12:30 -0400
committerTest_User <hax@andrewyu.org>2023-08-10 01:12:30 -0400
commit031d6a3d88c714cd11884e73248f0c24090d50e1 (patch)
treee7e90ba77dea37ccee34cd7f2e0838e2dec8e956 /Makefile
parentffc06e4614772a681114d4059a072f599ee378f8 (diff)
downloadcoupserv-031d6a3d88c714cd11884e73248f0c24090d50e1.tar.gz
coupserv-031d6a3d88c714cd11884e73248f0c24090d50e1.zip
Log-related stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 74178eb..4ddf248 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,14 @@
#INCLUDEFLAGS =
+ifeq ($(VERBOSE), 1)
+ CFLAGS += -DLOGALL=1
+endif
+
+ifeq ($(COLORIZE), 1)
+ CFLAGS += -DCOLORIZE=1
+endif
+
CFLAGS += $(INCLUDEFLAGS) -D_REENTRANT -ggdb3 -Wall -Wextra -Wsign-conversion -Wno-unused-parameter $(shell pkg-config gnutls --cflags)
LDFLAGS = -lpthread $(shell pkg-config gnutls --libs)