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

Makefile: use full stem in dependency generation

Previously took only the filename, so the directory
component was stripped. This broke dependencies for
basically every file.
parent 58fa44e8
No related branches found
No related tags found
No related merge requests found
......@@ -376,7 +376,7 @@ ifdef Echo_name
@printf '%-20.20s\r' $$<
endif
endif
$(.)$(cc) -MM -MF $$@ -MT $(objdir)/$$(*F).o $(2) $$<
$(.)$(cc) -MM -MF $$@ -MT $(objdir)/$$*.o $(2) $$<
endef
$(eval $(call _recipe,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