X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fhcxmpp.git;a=blobdiff_plain;f=Makefile;h=d85565837e50edb1c9741a50ec55886ac792a56d;hp=33f423ad1ad8b0f91d9fee39256affc463604cf2;hb=2ba16182c4d0f9e08cc1427587701de04090df08;hpb=cab9c870d3581b356c521690582a75cf60017d98 diff --git a/Makefile b/Makefile index 33f423a..d855658 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ -OBJECTS = sort_udns.o tcp_connect.o +OBJECTS = sort_udns.o tcp_connect.o iksemel_extra.o tictactoe.o CC = gcc -CFLAGS = -g -Wall -LIBS = -ludns +CFLAGS = -g -Wall `pkg-config --cflags iksemel` +LIBS = -ludns `pkg-config --libs iksemel` -all: $(OBJECTS) +all: tictactoe + +tictactoe: $(OBJECTS) + $(CC) $(CFLAGS) $(LIBS) -o tictactoe $(OBJECTS) .c.o: $(CC) $(CFLAGS) -c $< -o $@ clean: - rm -f $(OBJECTS) + rm -f $(OBJECTS) tictactoe