view finch/libgnt/test/Makefile @ 31987:011abe09b264

merge of '808c311196ce8853437bde38c9e3c0864698a4d4' and 'b5432d58ea3fe5a2182f1eb3ee4fceb12118f088'
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 29 Aug 2011 22:50:03 +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)