List .o file explicitly as dependency, to work around a gmake bug

(intermediate .o file gets deleted and rebuild on next make invocation).
This commit is contained in:
Peter Eisentraut 2000-12-15 18:50:35 +00:00
parent b260c18cbc
commit 326fbd8837

View File

@ -2,7 +2,7 @@
# #
# Makefile for the pltcl shared object # Makefile for the pltcl shared object
# #
# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.25 2000/11/03 20:27:40 petere Exp $ # $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.26 2000/12/15 18:50:35 petere Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -94,6 +94,8 @@ ifeq ($(TCL_SHARED_BUILD), 1)
all: $(INFILES) all: $(INFILES)
pltcl$(DLSUFFIX): pltcl.o
install: all installdirs install: all installdirs
$(INSTALL_SHLIB) $(DLOBJS) $(DESTDIR)$(libdir)/$(DLOBJS) $(INSTALL_SHLIB) $(DLOBJS) $(DESTDIR)$(libdir)/$(DLOBJS)