X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=Makefile;h=89a6998b3bd815c716e6637ecad8169781a9bfeb;hb=refs%2Fheads%2Fmaster;hp=33f423ad1ad8b0f91d9fee39256affc463604cf2;hpb=97183f5a2720f6fd212bcffb5a6a445d5be94338;p=cascardo%2Fhcxmpp.git diff --git a/Makefile b/Makefile index 33f423a..89a6998 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,19 @@ -OBJECTS = sort_udns.o tcp_connect.o +OBJECTS = sort_udns.o tcp_connect.o iksemel_extra.o \ + xmpp.o features.o sasl.o bind.o disco.o hook.o message.o presence.o CC = gcc -CFLAGS = -g -Wall -LIBS = -ludns +CFLAGS = -g -Wall `pkg-config --cflags iksemel libgsasl glib-2.0 gtk+-2.0` +LIBS = -ludns `pkg-config --libs iksemel libgsasl glib-2.0 gtk+-2.0` -all: $(OBJECTS) +all: tictactoe ui + +tictactoe: $(OBJECTS) tictactoe.o + $(CC) $(CFLAGS) $(LIBS) -o tictactoe $(OBJECTS) tictactoe.o + +ui: $(OBJECTS) ui.o + $(CC) $(CFLAGS) $(LIBS) -o ui $(OBJECTS) ui.o .c.o: $(CC) $(CFLAGS) -c $< -o $@ clean: - rm -f $(OBJECTS) + rm -f $(OBJECTS) tictactoe.o tictactoe ui.o ui