diff console/Makefile @ 13869:5642f4658b59

[gaim-migrate @ 16335] A bunch of stuff that doesn't really do much. I am trying to get the "expose" thingy going where a widget will redraw some of its parts when some other widget covering it is destroyed. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 25 Jun 2006 03:15:41 +0000
parents d95e5e0e29b9
children eac18261c6f0
line wrap: on
line diff
--- a/console/Makefile	Sat Jun 24 22:52:59 2006 +0000
+++ b/console/Makefile	Sun Jun 25 03:15:41 2006 +0000
@@ -1,5 +1,5 @@
 CFLAGS=`pkg-config --cflags gaim gobject-2.0` -g -I./libgnt/
-LDFLAGS=`pkg-config --libs gaim gobject-2.0 libxml-2.0` -lncursesw -L./libgnt/ -lgnt
+LDFLAGS=`pkg-config --libs gaim gobject-2.0 libxml-2.0` -lncursesw -L./libgnt/ -lgnt -pg
 
 GG_SOURCES = \
 	gntblist.c \
@@ -13,7 +13,9 @@
 	gntblist.o \
 	gntui.o
 
-all: gntgaim
+all:
+	cd libgnt && make
+	make gntgaim
 
 gntgaim: gntgaim.o $(GG_OBJECTS)
 	$(CC) -o gntgaim gntgaim.o $(GG_OBJECTS) $(LDFLAGS)
@@ -22,6 +24,7 @@
 gntui.o: gntui.c $(GG_HEADERS)
 
 clean:
+	cd libgnt && make clean
 	rm *.o
 	rm gntgaim