view finch/libgnt/test/Makefile @ 21904:9b299228431c

merge of '05319fdf1db00660d0c169657ed1b08ff621e5c7' and 'a654aa0d3c35e43c2f23b266100bfdb4d98e2d73'
author Will Thompson <will.thompson@collabora.co.uk>
date Wed, 19 Dec 2007 11:31:37 +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)