Makefile: fix object file not depending on headers

BRUH MOMENT
This commit is contained in:
James R 2021-04-06 03:55:57 -07:00
parent 5f4e21ed3a
commit e39bf7503f

View file

@ -701,7 +701,7 @@ endif
endif endif
define deps_rule += define deps_rule +=
$(CC) $(CFLAGS) -M -MF $@ -MT $(OBJDIR)/$< $< $(CC) $(CFLAGS) -M -MF $@ -MT $(OBJDIR)/$(<:.c=.o) $<
endef endef
$(DEPDIR)/%.d: %.c $(DEPDIR)/%.d: %.c