#-------------------------------------------------------------------------
#
# Makefile
#    Makefile for pgeasy examples
#
# IDENTIFICATION
#    $Header: /cvsroot/pkg-postgresql/pgeasy/pgeasy-3.0.3/examples/Makefile,v 1.1.1.1 2004/04/12 11:43:55 mpitt Exp $
#
#-------------------------------------------------------------------------

CFLAGS= -O
TARGET = pginsert pgwordcount pgnulltest pgmultiresult

all : $(TARGET)

%: %.c
	gcc $(CFLAGS) -I/usr/include/postgresql -o $@ $@.c -lpgeasy

clean:
	rm -f $(TARGET)

