1996-07-09 08:22:35 +02:00
|
|
|
#
|
|
|
|
# Makefile for example programs
|
|
|
|
#
|
|
|
|
|
2000-08-31 18:12:35 +02:00
|
|
|
subdir = src/test/examples
|
|
|
|
top_builddir = ../../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2009-12-31 01:16:47 +01:00
|
|
|
ifeq ($(PORTNAME), win32)
|
|
|
|
LDLIBS += -lws2_32
|
|
|
|
endif
|
|
|
|
|
2001-02-20 20:20:30 +01:00
|
|
|
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
|
2005-03-25 19:17:14 +01:00
|
|
|
override LDLIBS := $(libpq_pgport) $(LDLIBS)
|
1996-07-09 08:22:35 +02:00
|
|
|
|
|
|
|
|
2012-10-07 01:36:48 +02:00
|
|
|
PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo testlo64
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1996-11-12 12:43:32 +01:00
|
|
|
all: $(PROGS)
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2015-04-24 23:13:06 +02:00
|
|
|
clean distclean maintainer-clean:
|
|
|
|
rm -f $(PROGS) *.o
|