X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fchat.git;a=blobdiff_plain;f=Makefile;h=cc14e6c24c8dc247cca21c2ec378b7636730119e;hp=275426f6c604d260c9ec73dd56a2ebbb2fd750ad;hb=d3a770cb9f1cdc233d807a8bec0a1a514b043789;hpb=fee0c9537ee0b8dc497fd789d0c20e5db09766a8 diff --git a/Makefile b/Makefile index 275426f..cc14e6c 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 +OBJECTS = sort_udns.o tcp_connect.o iksemel_extra.o \ + xmpp.o features.o sasl.o bind.o disco.o hook.o message.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 + $(CC) $(CFLAGS) $(LIBS) -o ui $(OBJECTS) ui.o .c.o: $(CC) $(CFLAGS) -c $< -o $@ clean: - rm -f $(OBJECTS) tictactoe + rm -f $(OBJECTS) tictactoe.o tictactoe ui.o ui