1# 2# Makefile for example programs 3# 4 5subdir = src/test/examples 6top_builddir = ../../.. 7include $(top_builddir)/src/Makefile.global 8 9ifeq ($(PORTNAME), win32) 10LDFLAGS += -lws2_32 11endif 12 13override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) 14LDFLAGS_INTERNAL += $(libpq_pgport) 15 16 17PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo testlo64 18 19all: $(PROGS) 20 21clean distclean maintainer-clean: 22 rm -f $(PROGS) *.o 23