-CFLAGS := $(CFLAGS) -ggdb -Wno-format-truncation
+# Copyright (c) 1996-2023 by the citadel.org team
+#
+# This program is open source software. Use, duplication, or
+# disclosure are subject to the GNU General Public License v3.
+
+CFLAGS := $(CFLAGS) -ggdb -Wno-format-truncation -DDEBUG_ICAL_OVERLAP
LDFLAGS := $(LDFLAGS)
SRC := server
OBJECTS := $(patsubst $(SRC)/%.c, $(OBJ)/%.o, $(SOURCES))
webcit: $(OBJECTS)
- gcc $(CFLAGS) $(OBJECTS) $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -o webcit
+ gcc $(CFLAGS) $(OBJECTS) $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -lical -o webcit
$(SRC)/%.c: $(HEADERS)
touch $@