view finch/libgnt/test/Makefile @ 16030:00a4de6880da

I think I'm committing the more recent version of this translation
author Luke Schierer <lschiere@pidgin.im>
date Mon, 09 Apr 2007 13:02:46 +0000
parents 0e3a8505ebbe
children 5f204f55af09
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

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)