view finch/libgnt/test/Makefile @ 26737:8b7d1aed6d59

merge of '8ddbfe5d6f5c2455497d11ccbfff769ed4e9fad4' and 'ef988478f33650d37a90cb7c58a9ac5af81b525b'
author Paul Aurich <paul@darkrain42.org>
date Tue, 28 Apr 2009 19:08:06 +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)