#-------------------------------------------------------------------------
#
# Makefile
#    Makefile for pgeasy examples
#
# IDENTIFICATION
#    $Header: /cvsroot/pkg-postgresql/pgeasy/pgeasy-3.0.1/examples/Makefile,v 1.1.1.1 2004/01/15 15:31:46 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)

