]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix dependency bug when building lwlib
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 14 Jan 2023 02:22:47 +0000 (18:22 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 14 Jan 2023 07:39:51 +0000 (23:39 -0800)
* 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

index 903461a2f4ab0885e2a71905299bcd45ad8f8ffe..70f6cd17d78e44e4d133b619158a3ac56bc0249a 100644 (file)
@@ -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