Files
postgresql/src/test/examples/Makefile
Peter Eisentraut 1652d43358 Remove fmgrstamp-h business -- not needed and confusing
Add options to configure to automatically build for Kerberos
support; no more editing of make files.
2000-06-17 00:10:40 +00:00

23 lines
374 B
Makefile

#
# Makefile for example programs
#
SRCDIR= ../..
include ../../Makefile.global
CFLAGS+= -I$(LIBPQDIR)
LDFLAGS+= -L$(LIBPQDIR) -lpq
# PROGS= testlibpq0 testlibpq1 testlibpq2 testlibpq3 testlibpq4 testlo
PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo testlo2
all: $(PROGS)
$(PROGS): % : %.c
$(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS)
clean:
rm -f $(PROGS)