postgresql/src/test/examples/Makefile

24 lines
420 B
Makefile
Raw Normal View History

#
# Makefile for example programs
#
subdir = src/test/examples
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
CPPFLAGS+= -I$(libpq_srcdir)
LDFLAGS+= $(libpq)
# PROGS= testlibpq0 testlibpq1 testlibpq2 testlibpq3 testlibpq4 testlo
PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo testlo2
1996-11-12 12:43:32 +01:00
all: $(PROGS)
1996-11-12 12:43:32 +01:00
$(PROGS): % : %.c
$(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS)
1996-11-12 12:43:32 +01:00
clean:
rm -f $(PROGS)