Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier1996-08-14 04:54:45 +0000
committerMarc G. Fournier1996-08-14 04:54:45 +0000
commit6b9ecd83484e5e4c37fd59b29f83a10e9a5430d9 (patch)
tree7c6f8b29bf84d35e2a3b3bae5bcf3ceb4d86a4ec /src/mk/postgres.prog.mk
parent80d0c4ffd351436c9e9480935e540d1413033aff (diff)
Here's a small makefile patch that corrects the following bug: The makefiles
don't indicate that the libpq.a library is a dependency of all the /bin programs. So if the library changes, the /bin programs don't get remade. Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>
Diffstat (limited to 'src/mk/postgres.prog.mk')
-rw-r--r--src/mk/postgres.prog.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mk/postgres.prog.mk b/src/mk/postgres.prog.mk
index 52cfbea1b25..d8d1757f0f3 100644
--- a/src/mk/postgres.prog.mk
+++ b/src/mk/postgres.prog.mk
@@ -10,13 +10,13 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.prog.mk,v 1.2 1996/08/13 07:48:33 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.prog.mk,v 1.3 1996/08/14 04:54:45 scrappy Exp $
#
#-------------------------------------------------------------------------
PROGOBJS:= $(SRCS:%.c=%.o)
-$(PROG): $(addprefix $(objdir)/,$(PROGOBJS))
+$(PROG): $(addprefix $(objdir)/,$(PROGOBJS)) $(LIB_DEP)
$(CC) $(LDFLAGS) -o $(objdir)/$(@F) $(addprefix $(objdir)/,$(PROGOBJS)) $(LD_ADD)
CLEANFILES+= $(PROGOBJS) $(PROG)