1 OBJS := http.o main.o request.o tls.o static.o tcp_sockets.o webserver.o ctdlclient.o \
2 admin_functions.o room_functions.o util.o caldav_reports.o messages.o \
3 ctdlfunctions.o ctdl_commands.o forum_view.o html2html.o text2html.o user_functions.o \
5 CFLAGS := -ggdb -Wno-format-truncation
10 gcc $(OBJS) $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -o webcit
12 # pull in dependency info for *existing* .o files
13 -include $(OBJS:.o=.d)
15 # compile and generate dependency info
17 gcc -c $(CFLAGS) $*.c -o $*.o
18 gcc -MM $(CFLAGS) $*.c > $*.d
20 # remove compilation products
26 # install to target directory