Added GTK+ interface to connect to server
[cascardo/chat.git] / Makefile
1 OBJECTS = sort_udns.o tcp_connect.o iksemel_extra.o \
2         xmpp.o features.o sasl.o bind.o disco.o hook.o message.o
3 CC = gcc
4 CFLAGS = -g -Wall `pkg-config --cflags iksemel libgsasl glib-2.0 gtk+-2.0`
5 LIBS = -ludns `pkg-config --libs iksemel libgsasl glib-2.0 gtk+-2.0`
6
7 all: tictactoe ui
8
9 tictactoe: $(OBJECTS) tictactoe.o
10         $(CC) $(CFLAGS) $(LIBS) -o tictactoe $(OBJECTS) tictactoe.o
11
12 ui: $(OBJECTS) ui.o
13         $(CC) $(CFLAGS) $(LIBS) -o ui $(OBJECTS) ui.o
14
15 .c.o:
16         $(CC) $(CFLAGS) -c $< -o $@
17
18 clean:
19         rm -f $(OBJECTS) tictactoe.o tictactoe ui.o ui