view finch/libgnt/test/Makefile @ 27755:6c9c6123b942

Using g_convert instead of g_utf16_to_utf8 means we don't need to go through the whole buffer converting it first.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 31 Jul 2009 03:53:00 +0000
parents 406aa3be6b32
children
line wrap: on
line source

CC=gcc
CFLAGS=`pkg-config --cflags gobject-2.0 gmodule-2.0` -g -I../ -DSTANDALONE -I/usr/include/ncursesw/
LDFLAGS=`pkg-config --libs gobject-2.0 gmodule-2.0 gnt` -pg

EXAMPLES=combo focus tv multiwin keys menu parse

all:
	make examples

clean:
	rm -f $(EXAMPLES) *.so wm

WM: wm
	for i in $(EXAMPLES); do gcc -shared $(CFLAGS) -USTANDALONE $(LDFLAGS) $${i}.c -o $${i}.so ; done

examples: $(EXAMPLES)