view console/Makefile @ 13884:eac18261c6f0

[gaim-migrate @ 16364] Let's have chats in the buddylist. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 28 Jun 2006 01:46:41 +0000
parents 5642f4658b59
children 582aaa4e287e
line wrap: on
line source

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 -pg

GG_SOURCES = \
	gntblist.c \
	gntui.c

GG_HEADERS = \
	gntblist.h \
	gntui.h

GG_OBJECTS = \
	gntblist.o \
	gntui.o

all:
	cd libgnt && make
	make gntgaim

gntgaim: gntgaim.o $(GG_OBJECTS)
	$(CC) -o gntgaim gntgaim.o $(GG_OBJECTS) $(LDFLAGS)
gntblist.o: gntblist.c $(GG_HEADERS)
gntgaim.o: gntgaim.c gntgaim.h $(GG_HEADERS)
gntui.o: gntui.c $(GG_HEADERS)

clean:
	cd libgnt && make clean
	rm -f *.o
	rm -f gntgaim