From c7b40e605810e4f78c124061a8f15570451ceed1 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Fri, 4 Apr 1997 10:43:16 +0000 Subject: 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 --- src/interfaces/libpq++/examples/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/interfaces/libpq++/examples') diff --git a/src/interfaces/libpq++/examples/Makefile b/src/interfaces/libpq++/examples/Makefile index c08806002b2..b847cf27110 100644 --- a/src/interfaces/libpq++/examples/Makefile +++ b/src/interfaces/libpq++/examples/Makefile @@ -21,13 +21,13 @@ INCLUDE_OPT= \ -I$(HEADERDIR) CXXFLAGS+= $(INCLUDE_OPT) -LD_ADD+= -L.. -lpq++ -L$(LIBPQDIR) -lpq +LDFLAGS+= -L.. -lpq++ -L$(LIBPQDIR) -lpq # # And where libpq goes, so goes the authentication stuff... # ifdef KRBVERS -LD_ADD+= $(KRBLIBS) +LDFLAGS+= $(KRBLIBS) CXXFLAGS+= $(KRBFLAGS) endif @@ -37,7 +37,7 @@ PROGS= testlibpq0 testlibpq1 testlibpq2 testlibpq3 \ all: submake $(PROGS) $(PROGS): % : %.cc ../$(LIBNAME).a - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $@.cc $(LD_ADD) + $(CXX) $(CXXFLAGS) -o $@ $@.cc $(LDFLAGS) .PHONY: submake submake: -- cgit v1.2.3