view console/Makefile @ 13885:582aaa4e287e

[gaim-migrate @ 16365] Add ui for conversation. It 'works', but it's broken. So don't use it just yet. I probably will not be able to touch it in the next couple of days. So feel free to fix the brokenness :) committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 28 Jun 2006 05:52:23 +0000
parents eac18261c6f0
children 7d3256b253ec
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 \
	gntconv.c \
	gntui.c

GG_HEADERS = \
	gntblist.h \
	gntconv.h \
	gntui.h

GG_OBJECTS = \
	gntblist.o \
	gntconv.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)
gntconv.o: gntconv.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