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