head	1.4;
access;
symbols
	REL7_2_8:1.2
	REL7_2_7:1.2
	REL7_2_6:1.2
	REL7_2_5:1.2
	REL7_2_4:1.2
	REL7_2_3:1.2
	REL7_2_STABLE:1.2.0.6
	REL7_2:1.2
	REL7_2_RC2:1.2
	REL7_2_RC1:1.2
	REL7_2_BETA5:1.2
	REL7_2_BETA4:1.2
	REL7_2_BETA3:1.2
	REL7_2_BETA2:1.2
	REL7_2_BETA1:1.2
	REL7_1_2:1.2
	REL7_1_STABLE:1.2.0.4
	REL7_1_BETA:1.2
	REL7_1_BETA3:1.2
	REL7_1_BETA2:1.2
	REL7_1:1.2
	REL7_0_PATCHES:1.2.0.2
	REL7_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2002.08.30.13.03.11;	author scrappy;	state dead;
branches;
next	1.3;

1.3
date	2002.03.04.18.50.21;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	2000.05.18.14.24.37;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	99.10.11.18.03.01;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.4
log
@
libpgeasy moved to gborg ...
@
text
@#-------------------------------------------------------------------------
#
# Makefile
#    Makefile for pgeasy examples
#
# IDENTIFICATION
#    $Header: /cvsroot/pgsql-server/src/interfaces/libpgeasy/examples/Makefile,v 1.3 2002/03/04 18:50:21 momjian Exp $
#
#-------------------------------------------------------------------------

CFLAGS=-I/usr/local/pgsql/include
TARGET = pginsert pgwordcount pgnulltest pgmultiresult
LDFLAGS = -L/usr/local/pgsql/lib -lpgeasy

all : $(TARGET)

%: %.c
	gcc -o $@@ $(CFLAGS) $@@.c $(PGEASY) $(LDFLAGS)

clean:
	rm -f *.o $(TARGET) log core

@


1.3
log
@Improve libpgeasy API for multiple result sets, add example.
@
text
@d7 1
a7 1
#    $Header: /cvsroot/pgsql/src/interfaces/libpgeasy/examples/Makefile,v 1.2 2000/05/18 14:24:37 momjian Exp $
@


1.2
log
@Fix WARN->NOTICE in docs.  Change libpgeasy connection parameters to use
PQconnectdb() style connections.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/libpgeasy/examples/Makefile,v 1.1 1999/10/11 18:03:01 momjian Exp $
d12 1
a12 1
TARGET = pginsert pgwordcount pgnulltest
d17 1
a17 7
pginsert:
	gcc -o $@@ $(CFLAGS) $@@.c $(PGEASY) $(LDFLAGS)

pgwordcount:
	gcc -o $@@ $(CFLAGS) $@@.c $(PGEASY) $(LDFLAGS)

pgnulltest:
@


1.1
log
@pgeasy update.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/pgeasy/examples/Makefile,v 1.1 1999/10/11 17:47:02 momjian Exp $
d11 1
d13 1
a13 1
LDFLAGS = -lpgeasy
@
