#-------------------------------------------------------------------------
#
# Makefile
#    Makefile for pgeasy examples
#
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/pgeasy/libpgeasy/examples/Makefile,v 1.5 2002/11/27 04:06:09 bmomjian Exp $
#
#-------------------------------------------------------------------------

CFLAGS= -O
TARGET = pginsert pgwordcount pgnulltest pgmultiresult

all : $(TARGET)

%: %.c
	gcc $(CFLAGS) -I`pg_config --includedir` -o $@ $@.c -lpgeasy

clean:
	rm -f $(TARGET)

