Skip to content
Snippets Groups Projects
Commit e39bf750 authored by James R.'s avatar James R.
Browse files

Makefile: fix object file not depending on headers

BRUH MOMENT
parent 5f4e21ed
Branches
Tags
No related merge requests found
...@@ -701,7 +701,7 @@ endif ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment