view console/libgnt/test/Makefile @ 15183:f495e3063701

[gaim-migrate @ 17970] Get rid of a vague compile warning: gntblist.c:1948: warning: ¡Æaccount_signed_on_cb¡Ç was used with no prototype before its definition committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 12 Dec 2006 07:28:39 +0000
parents 62bb53609a36
children
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

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)