view finch/libgnt/test/Makefile @ 16489:ce6b4346e56d

merge of '53e71fc52c4d4be3947b2404fe6332ae8d52dc55' and '795db06d1da098cc0db741abcdb48e5e4a0edcac'
author Tim Ringenbach <marv@pidgin.im>
date Mon, 23 Apr 2007 02:04:41 +0000
parents 5f204f55af09
children 57d350900136 acf284962b40
line wrap: on
line source

CC=gcc
CFLAGS=`pkg-config --cflags gobject-2.0 gmodule-2.0` -g -I../ -DSTANDALONE
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)