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.
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user