view finch/libgnt/test/Makefile @ 23073:be8c6b5cc726

Import a patch from Debian: * Fix syntax problem in pidgin manpage (Closes: #463021) committer: Richard Laager <rlaager@wiktel.com>
author Ari Pollak <ari@debian.org>
date Wed, 21 May 2008 21:07:22 +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)