view finch/libgnt/test/Makefile @ 20213:5051b94ad258

applied changes from 6e915e14a78ccafa5e0ddfdcabccc2e174c734e3 through 6cb0c90b1044b61c7a2c1a7d78c55ef4c5af2bfb
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Sep 2007 15:40:58 +0000
parents 5f204f55af09
children 57d350900136 acf284962b40
line wrap: on
line source

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