]> code.citadel.org Git - citadel.git/blob - webcit/Makefile
started to add wholist
[citadel.git] / webcit / Makefile
1 all: webserver webcit
2
3
4 clean:
5         rm *.o webcit webserver
6
7
8 webserver: webserver.o context_loop.o
9         cc webserver.o context_loop.o \
10                 -lpthread -o webserver
11
12 webserver.o: webserver.c webcit.h
13         cc -c -D_REENTRANT webserver.c
14
15 context_loop.o: context_loop.c webcit.h
16         cc -c -D_REENTRANT context_loop.c
17
18
19
20 webcit: webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o
21         cc webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o -o webcit
22
23 webcit.o: webcit.c webcit.h
24         cc -c webcit.c
25
26 auth.o: auth.c webcit.h
27         cc -c auth.c
28
29 tcp_sockets.o: tcp_sockets.c webcit.h
30         cc -c tcp_sockets.c
31
32 mainmenu.o: mainmenu.c webcit.h
33         cc -c mainmenu.c
34
35 serv_func.o: serv_func.c webcit.h
36         cc -c serv_func.c
37
38 who.o: who.c webcit.h
39         cc -c who.c