]> code.citadel.org Git - citadel.git/blob - webcit/Makefile
oooh, lotsa good stuff
[citadel.git] / webcit / Makefile
1 all: webserver webcit
2
3
4
5 webserver: webserver.o context_loop.o
6         cc webserver.o context_loop.o \
7                 -lpthread -o webserver
8
9 webserver.o: webserver.c webcit.h
10         cc -c -D_REENTRANT webserver.c
11
12 context_loop.o: context_loop.c webcit.h
13         cc -c -D_REENTRANT context_loop.c
14
15
16
17 webcit: webcit.o auth.o tcp_sockets.o
18         cc webcit.o auth.o tcp_sockets.o -o webcit
19
20 webcit.o: webcit.c webcit.h
21         cc -c webcit.c
22
23 auth.o: auth.c webcit.h
24         cc -c auth.c
25
26 tcp_sockets.o: tcp_sockets.c webcit.h
27         cc -c tcp_sockets.c