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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment