changeset 15933:7fae8140b5b3

makefile
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 26 Mar 2007 04:50:24 +0000
parents 8fd5ab3f9716
children c2cce5daa8ec
files finch/libgnt/pygnt/Makefile.make
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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