view finch/libgnt/test/Makefile @ 20249:45d28c932d3e

applied changes from 82ca9c2040bb139af45e049cfa90e8f909e054bd through d33243e8f5347776c81f81a0e4ba3a76ae5505a5
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Sep 2007 16:00:21 +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)