view finch/libgnt/pygnt/Makefile.make @ 21174:6e0c99e134c2

Fix the win32 build for the file synchronization changes. Hopefully this will fix some of the occasional issues that people have had on Windows with their files getting corrupted on power failure or something.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 09 Nov 2007 01:39:51 +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