view finch/libgnt/test/Makefile @ 20965:d447ccd6c34c

merge of '51bc20100c62f71bc194d00b719c01b8dee40609' and 'e82ae16ed445d6896fec536a492fcc17bc6098e4'
author Mark Doliner <mark@kingant.net>
date Tue, 16 Oct 2007 06:50:18 +0000
parents acf284962b40
children 406aa3be6b32
line wrap: on
line source

CC=gcc
CFLAGS=`pkg-config --cflags gobject-2.0 gmodule-2.0` -g -I../ -DSTANDALONE -I/usr/inclue/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)