1 OBJS := http.o main.o request.o ssl.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
4 CFLAGS := -ggdb -Wno-format-truncation
9 gcc $(OBJS) $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -o webcit
11 # pull in dependency info for *existing* .o files
12 -include $(OBJS:.o=.d)
14 # compile and generate dependency info
16 gcc -c $(CFLAGS) $*.c -o $*.o
17 gcc -MM $(CFLAGS) $*.c > $*.d
19 # remove compilation products
25 # install to target directory