X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=a816b97baa96b03eaff86048265fabccfae7b777;hb=HEAD;hp=6a87a8b49c49de19d52d5dd9f0febfde48d23ada;hpb=2dd07de4ac61aea2ce976ea0841d597d8801b139;p=cascardo%2Fhcxmpp.git diff --git a/Makefile b/Makefile index 6a87a8b..a816b97 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,19 @@ -OBJECTS = sort_udns.o tcp_connect.o iksemel_extra.o tictactoe.o \ - xmpp.o features.o sasl.o bind.o disco.o hook.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 `pkg-config --cflags iksemel libgsasl` -LIBS = -ludns `pkg-config --libs iksemel libgsasl` +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: tictactoe +all: tictactoe ui -tictactoe: $(OBJECTS) - $(CC) $(CFLAGS) $(LIBS) -o tictactoe $(OBJECTS) +tictactoe: $(OBJECTS) tictactoe.o + $(CC) $(CFLAGS) $(LIBS) -o tictactoe $(OBJECTS) tictactoe.o + +ui: $(OBJECTS) ui.o chat.o + $(CC) $(CFLAGS) $(LIBS) -o ui $(OBJECTS) ui.o chat.o .c.o: $(CC) $(CFLAGS) -c $< -o $@ clean: - rm -f $(OBJECTS) tictactoe + rm -f $(OBJECTS) tictactoe.o tictactoe ui.o chat.o ui