summaryrefslogtreecommitdiff
path: root/src/test/examples
diff options
context:
space:
mode:
authorMarc G. Fournier1997-04-04 10:43:16 +0000
committerMarc G. Fournier1997-04-04 10:43:16 +0000
commitc7b40e605810e4f78c124061a8f15570451ceed1 (patch)
tree0824ca0036dc6179286e349110ec08f0773c0f37 /src/test/examples
parente292a9d62721f58d1db3b63e16196ce48664cc0b (diff)
This commit represents a clean compile with the new templates under
FreeBSD The Makefile(s) have all been cleaned up such that there is a single LDFLAGS vs LD_ADD or LDADD or LDFLAGS or LDFLAGS_BE. The Makefile(s) should be alot more straightforward then they were before...and consistent
Diffstat (limited to 'src/test/examples')
-rw-r--r--src/test/examples/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/examples/Makefile b/src/test/examples/Makefile
index 885888a35e..dd33f071f2 100644
--- a/src/test/examples/Makefile
+++ b/src/test/examples/Makefile
@@ -7,13 +7,13 @@ include ../../Makefile.global
CFLAGS+= -I$(LIBPQDIR)
-LD_ADD+= -L$(LIBPQDIR) -lpq
+LDFLAGS+= -L$(LIBPQDIR) -lpq
#
# And where libpq goes, so goes the authentication stuff...
#
ifdef KRBVERS
-LD_ADD+= $(KRBLIBS)
+LDFLAGS+= $(KRBLIBS)
CFLAGS+= $(KRBFLAGS)
endif
@@ -22,7 +22,7 @@ PROGS= testlibpq0 testlibpq1 testlibpq2 testlibpq3 testlibpq4 testlo
all: $(PROGS)
$(PROGS): % : %.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.c $(LD_ADD)
+ $(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS)
clean:
rm -f $(PROGS)