9 # End of configuration section
15 rm -f *.o webcit webserver
18 rm -f Makefile config.cache config.log config.status
21 webserver: webserver.o context_loop.o $(LIBOBJS)
22 $(CC) webserver.o context_loop.o $(LIBOBJS) $(LIBS) -o webserver
24 webserver.o: webserver.c webcit.h
25 $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT webserver.c
27 context_loop.o: context_loop.c webcit.h webserver.h
28 $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT context_loop.c
30 snprintf.o: snprintf.c
31 $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT snprintf.c
35 webcit: webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \
36 roomops.o tools.o messages.o
37 $(CC) webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \
38 tools.o roomops.o messages.o -o webcit
40 webcit.o: webcit.c webcit.h child.h
41 $(CC) $(CFLAGS) $(DEFS) -c webcit.c
43 auth.o: auth.c webcit.h child.h
44 $(CC) $(CFLAGS) $(DEFS) -c auth.c
46 tcp_sockets.o: tcp_sockets.c webcit.h
47 $(CC) $(CFLAGS) $(DEFS) -c tcp_sockets.c
49 mainmenu.o: mainmenu.c webcit.h child.h
50 $(CC) $(CFLAGS) $(DEFS) -c mainmenu.c
52 serv_func.o: serv_func.c webcit.h child.h
53 $(CC) $(CFLAGS) $(DEFS) -c serv_func.c
55 who.o: who.c webcit.h child.h
56 $(CC) $(CFLAGS) $(DEFS) -c who.c
58 tools.o: tools.c webcit.h
59 $(CC) $(CFLAGS) $(DEFS) -c tools.c
61 roomops.o: roomops.c webcit.h child.h
62 $(CC) $(CFLAGS) $(DEFS) -c roomops.c
64 messages.o: messages.c webcit.h child.h
65 $(CC) $(CFLAGS) $(DEFS) -c messages.c