view console/libgnt/Makefile @ 13850:0e1e59770cb0

[gaim-migrate @ 16308] This is my first commit here. So don't yell at me if things get borked. Also, I haven't looked at the auto-thingies yet. So don't puke at the Makefiles. Files in console/libgnt/ are for the 'Gaim/GObjectified Ncurses Toolkit' library. Files in console/ uses libgaim and libgnt. Currently, only the buddylist-ui is 'functional', ie. the buddy-list updates when someone logs on or logs off. It still needs a lot of work. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 22 Jun 2006 08:33:54 +0000
parents
children 5b288502a382
line wrap: on
line source

CFLAGS=`pkg-config --cflags gobject-2.0` -g
LDFLAGS=`pkg-config --libs gobject-2.0` -lncursesw

HEADERS = \
	gntwidget.h \
	gntbox.h \
	gntbutton.h \
	gntcolors.h \
	gntlabel.h \
	gnttree.h \
	gntutils.h \
	gnt.h

SOURCES = \
	gntwidget.c \
	gntbox.c \
	gntbutton.c \
	gntcolors.c \
	gntlabel.c \
	gnttree.c \
	gntutils.c \
	gntmain.c

OBJECTS = \
	gntwidget.o \
	gntbox.o \
	gntbutton.o \
	gntcolors.o \
	gntlabel.o \
	gnttree.o \
	gntutils.o \
	gntmain.o

all: libgnt

test: $(OBJECTS)

gntwidget.o: gntwidget.c $(HEADERS)
gntbox.o: gntbox.c $(HEADERS)
gntbutton.o: gntbutton.c $(HEADERS)
gntcolors.o: gntcolors.c $(HEADERS)
gntlabel.o: gntlabel.c $(HEADERS)
gnttree.o: gnttree.c $(HEADERS)
gntutils.o: gntutils.c $(HEADERS)
gntmain.o: gntmain.c $(HEADERS)

libgnt: $(OBJECTS)
	$(CC) --shared -o libgnt.so $(OBJECTS)

clean:
	rm *.o
	rm libgnt.so