view console/libgnt/Makefile @ 13869:5642f4658b59

[gaim-migrate @ 16335] A bunch of stuff that doesn't really do much. I am trying to get the "expose" thingy going where a widget will redraw some of its parts when some other widget covering it is destroyed. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 25 Jun 2006 03:15:41 +0000
parents c7d84d4c5afa
children 5c750626eaa5
line wrap: on
line source

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

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

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

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

all: libgnt

test2: $(OBJECTS)
key: $(OBJECTS)

gntwidget.o: gntwidget.c $(HEADERS)
gntbox.o: gntbox.c $(HEADERS)
gntbutton.o: gntbutton.c $(HEADERS)
gntcolors.o: gntcolors.c $(HEADERS)
gntentry.o: gntentry.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