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 0bd0b98909
commit e9b305c0b0

View file

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