view finch/libgnt/pygnt/Makefile.make @ 20299:62d0c7885618

applied changes from 2dc8fc60a9db3bce83fb319e9406ec3c01575911 through 63162f419a649bdd77b85cff73c4c490ec863ed1 log message: | Pounce handlers cannot have a null callback. committer: Luke Schierer <lschiere@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 19 Oct 2007 16:22:50 +0000
parents 6b16fca71f8b
children
line wrap: on
line source

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 common.o
	$(CC) $(LDFLAGS) -shared $^ -o $@

gnt.c: gnt.def *.override common.c common.h
	pygtk-codegen-2.0 --prefix gnt \
	--override gnt.override \
	gnt.def > $@

#python codegen/codegen.py --prefix gnt \

clean:
	@rm *.so *.o gnt.c