From ecabb04881c8e20770765d8409fb8a30ff6fbd75 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 24 Apr 2012 00:40:10 +0100 Subject: [PATCH] Added glib to Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 706fe2d2..698939ec 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ CC = gcc WARNS = -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable -LIBS = -lxml2 -lexpat -lssl -lresolv -lncurses -L ~/lib -lstrophe +LIBS = -lxml2 -lexpat -lssl -lresolv -lncurses -L ~/lib -lstrophe `pkg-config --libs glib-2.0` TESTLIB = -L ~/lib -l headunit CPPLIB = -lstdc++ -CFLAGS = -I ~/include -O3 $(WARNS) $(LIBS) +CFLAGS = -I ~/include -O3 $(WARNS) $(LIBS) `pkg-config --cflags glib-2.0` OBJS = log.o windows.o title_bar.o status_bar.o input_win.o jabber.o \ profanity.o util.o command.o history.o contact_list.o main.o TESTOBJS = test_history.o history.o test_contact_list.o contact_list.o \