summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-01-13 18:22:47 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2023-01-13 23:39:51 -0800
commit1b9ffd281162794e71a7e6a4d26cfbb3991c0cde (patch)
treeea9b5732ca88f006b6b59e7946bdc19d7f76c122 /lwlib
parentdc33a122230adbfa37926f4eb19c0620b3affd85 (diff)
downloademacs-1b9ffd281162794e71a7e6a4d26cfbb3991c0cde.tar.gz
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.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/Makefile.in2
1 files changed, 1 insertions, 1 deletions
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