Added a test program to connect to a XMPP server and send a client stream
[cascardo/chat.git] / Makefile
1 OBJECTS = sort_udns.o tcp_connect.o iksemel_extra.o tictactoe.o
2 CC = gcc
3 CFLAGS = -g -Wall `pkg-config --cflags iksemel`
4 LIBS = -ludns `pkg-config --libs iksemel`
5
6 all: tictactoe
7
8 tictactoe: $(OBJECTS)
9         $(CC) $(CFLAGS) $(LIBS) -o tictactoe $(OBJECTS)
10
11 .c.o:
12         $(CC) $(CFLAGS) -c $< -o $@
13
14 clean:
15         rm -f $(OBJECTS) tictactoe