mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-10 10:47:29 +08:00
Add options to configure to automatically build for Kerberos support; no more editing of make files.
23 lines
374 B
Makefile
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)
|