# HG changeset patch # User Sadrul Habib Chowdhury # Date 1174884624 0 # Node ID 7fae8140b5b320524a466d251737fdc8abf82119 # Parent 8fd5ab3f9716178819731fd3dd2c554efdb0dcf2 makefile diff -r 8fd5ab3f9716 -r 7fae8140b5b3 finch/libgnt/pygnt/Makefile.make --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/finch/libgnt/pygnt/Makefile.make Mon Mar 26 04:50:24 2007 +0000 @@ -0,0 +1,14 @@ +CC = gcc +CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.4/ -I.. -g -O0 +LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0 gnt` + +gnt.so: gnt.o gntmodule.o + $(CC) $(LDFLAGS) -shared $^ -o $@ + +gnt.c: gnt.def gnt.override + pygtk-codegen-2.0 --prefix gnt \ + --override gnt.override \ + gnt.def > $@ + +clean: + @rm *.so *.o gnt.c