view console/Makefile @ 13876:1a862fb5e713

[gaim-migrate @ 16351] Focus newly created IRC tabs created with /join and /query committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Mon, 26 Jun 2006 17:52:26 +0000
parents 5642f4658b59
children eac18261c6f0
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 *.o
	rm gntgaim