view finch/libgnt/test/Makefile @ 27026:53294b47a4a6

Fix an issue with the server responding with jid/node items as first-level children and add a TODO. That bug was revealed by ejabberd returning the ad-hoc commands (with no way to identify them as such) as children of the domain.
author Paul Aurich <paul@darkrain42.org>
date Thu, 04 Jun 2009 01:51:41 +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)