From: Paul Eggert Date: Sat, 14 Jan 2023 02:22:47 +0000 (-0800) Subject: Fix dependency bug when building lwlib X-Git-Tag: emacs-29.0.90~742 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b9ffd281162794e71a7e6a4d26cfbb3991c0cde;p=emacs.git Fix dependency bug when building lwlib * lwlib/Makefile.in (DEPFLAGS): Use OBJS to calculate dependency file names, not ALLOBJS. This fixes a typo introduced in 2015-05-15 "Replace AC_SUBST_FILE in configure with include in Makefiles" that caused lwlib/*.o to not be rebuilt sometimes when that was needed. --- diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in index 903461a2f4a..70f6cd17d78 100644 --- a/lwlib/Makefile.in +++ b/lwlib/Makefile.in @@ -63,7 +63,7 @@ AUTO_DEPEND = @AUTO_DEPEND@ DEPDIR = deps ifeq ($(AUTO_DEPEND),yes) DEPFLAGS = -MMD -MF $(DEPDIR)/$*.d -MP - -include $(ALLOBJS:%.o=$(DEPDIR)/%.d) + -include $(OBJS:%.o=$(DEPDIR)/%.d) else DEPFLAGS = include $(srcdir)/deps.mk