view finch/libgnt/test/Makefile @ 22888:5451ce45eeb3

merge of 'ab4c3777bebccd93ded5d7e6886514e95603f51a' and 'cc84ce5643c451b4a6d379e839e7c7531cabd9ee'
author Richard Laager <rlaager@wiktel.com>
date Sat, 10 May 2008 09:24:58 +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)