about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-04-24 00:40:10 +0100
committerJames Booth <boothj5@gmail.com>2012-04-24 00:40:10 +0100
commitecabb04881c8e20770765d8409fb8a30ff6fbd75 (patch)
treeefc18f387ddace99d0fe6158a1f9b801cc709d66
parentfe5554bb686a0c9c242b4c5c78959615114a119b (diff)
downloadprofani-tty-ecabb04881c8e20770765d8409fb8a30ff6fbd75.tar.gz
Added glib to Makefile
-rw-r--r--Makefile4
1 files 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 \