view finch/libgnt/test/Makefile @ 16875:8c19752df0e6

merge of '2882b6ab8f7547ad0d1682e61648c6fe29a36f8a' and '5cfdf53a0df94294f9feecae6d7dd22133bcb9ad'
author Evan Schoenberg <evan.s@dreskin.net>
date Fri, 04 May 2007 04:14:46 +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)