view finch/libgnt/test/Makefile @ 26280:02861ee5b29b

merge of 'a2ba1fead74d00991a9b2fe1290f7716b1d9d5cf' and 'b434abf35e2efd2a1c2821cbaf1ff557219ba4ad'
author Mike Ruprecht <maiku@soc.pidgin.im>
date Mon, 16 Mar 2009 02:59: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)