view console/Makefile @ 13874:77b43a898629

[gaim-migrate @ 16346] Makefile.in should not be in the repository, and Makefile and .deps should be ignored (I'm not sure I did this right... we'll see :-) ) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 26 Jun 2006 04:21:04 +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