view finch/libgnt/test/Makefile @ 18812:43b914fef77a

My version of automake seems to require that these if and endif statements appear at the beginning of the line. If not I get the following error at compile time: make[5]: Entering directory `/home/dude/code-pidgin-trunk/libpurple/protocols/bonjour' Makefile:1019: *** missing separator. Stop. make[5]: Leaving directory `/home/dude/code-pidgin-trunk/libpurple/protocols/bonjour' And the if and endif lines appear in Makefile, which they should not.
author Mark Doliner <mark@kingant.net>
date Mon, 06 Aug 2007 04:52:24 +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)