Re: [GENERAL] Compile

From: "Sergei Chernev" <ser(at)nsu(dot)ru>
To: <commitman(at)digitalnet(dot)com(dot)br>, <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] Compile
Date: 1999-03-06 12:57:33
Message-ID: 000c01be67d0$e70d0040$59d17cc1@ser.cnit.nsu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>Hi, I'm using PostgreSQL running under Linux and I must to know the
>command line to compile my program and link with libpq.
Here is peace of my Makefile:
CC=gcc
CFLAGS=-Wall
INCLUDEDIR=/usr/local/pgsql/include
LIBDIR=/usr/local/pgsql/lib
LIBOPTION=-lpq

progname: main.cxx
$(CC) -o program_name main.cpp $(CFLAGS) -I$(INCLUDEDIR) -L$(LIBDIR)
$(LIBOPTION)

-----------------
Sergei Chernev
Internet: ser(at)nsu(dot)ru
Phone: +7-3832-397354

Browse pgsql-general by date

  From Date Subject
Next Message Simon Drabble 1999-03-06 14:15:30 Re: [GENERAL] Compile
Previous Message Andrei de Oliveira Mosman 1999-03-06 12:27:41 Compile