view finch/libgnt/test/Makefile @ 29678:6cfc9cf2e8cc

merge of '2ac9476396460f68ab147a035f4083121aec9972' and '3ef9bbfad62576f3db5044c28101c08446179946'
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 04 Apr 2010 02:09:19 +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)