view finch/libgnt/pygnt/Makefile.make @ 18891:7db556e97dd1

Make msim_escape_or_unescape() take a const gchar *, and duplicate it itself so that it is not freed. Makes code clearer.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sat, 11 Aug 2007 04:38:52 +0000
parents 5e1412f4e67a
children 6b16fca71f8b
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 > $@

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