From 1b9ffd281162794e71a7e6a4d26cfbb3991c0cde Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 13 Jan 2023 18:22:47 -0800 Subject: [PATCH] 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. --- lwlib/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2