changeset 13892:f0cde11b3d0c

[gaim-migrate @ 16375] Update the makefile in console/ to reflect the previous changes in libgnt/ committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 29 Jun 2006 21:02:54 +0000
parents da1046158b3b
children ab671b76fb96
files console/Makefile
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/console/Makefile	Thu Jun 29 18:16:07 2006 +0000
+++ b/console/Makefile	Thu Jun 29 21:02:54 2006 +0000
@@ -1,6 +1,6 @@
 CC=gcc
-CFLAGS=`pkg-config --cflags gaim gobject-2.0` -g -I./libgnt/ -Wall
-LDFLAGS=`pkg-config --libs gaim gobject-2.0 libxml-2.0` -lncursesw -L./libgnt/ -lgnt -pg
+CFLAGS=`pkg-config --cflags gaim gobject-2.0 gnt` -g -Wall
+LDFLAGS=`pkg-config --libs gaim gobject-2.0 libxml-2.0 gnt` -pg
 
 GG_SOURCES = \
 	gntblist.c \
@@ -17,9 +17,7 @@
 	gntconv.o \
 	gntui.o
 
-all:
-	cd libgnt && make
-	make gntgaim
+all: gntgaim
 
 gntgaim: gntgaim.o $(GG_OBJECTS)
 	$(CC) -o gntgaim gntgaim.o $(GG_OBJECTS) $(LDFLAGS)
@@ -29,7 +27,6 @@
 gntui.o: gntui.c $(GG_HEADERS)
 
 clean:
-	cd libgnt && make clean
 	rm -f *.o
 	rm -f gntgaim