view finch/libgnt/test/Makefile @ 31949:16b33ffd75f8

merge of '1ca17dd26ee879f7580c72b03d018e444e0a5144' and '9000557e8a6b7649547a10cfc0fe85dbb8ce661d'
author masca@cpw.pidgin.im
date Thu, 25 Aug 2011 04:40:34 +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)