INCL     = -I/usr/local/postgresql/include
#LIB  = /usr/local/postgresql/lib/libpq.so #-lpq
LIBPATH  = -L/usr/local/postgresql/lib/ #-lpq
LIB      = -lpq
G        = -g
CC       = g++

testlibq: testlibq.o
	$(CC) -o testlibq testlibq.o $(LIBPATH) $(LIB)
testlibq.o: testlibq.cc
	$(CC) $(INCL) $G -c testlibq.cc
clean:
	/bin/rm -f *.o core testlibq
