providing option to connect to memcache at general connect time
[OpenSRF.git] / src / jserver / Makefile
1 LDLIBS  += -lopensrf  -lxml2
2 CFLAGS  += -D_GNU_SOURCE
3
4 all: chopchop
5
6 chopchop: osrf_chat.o osrf_chat_main.o
7         $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) osrf_chat.o osrf_chat_main.o -o $@
8
9 osrf_chat.o: osrf_chat.c osrf_chat.h
10 osrf_chat_main.o: osrf_chat_main.c
11
12 install: 
13         cp chopchop $(BINDIR)
14
15 clean:
16         /bin/rm -f *.o chopchop
17