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