mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 13:40:45 +00:00
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.
This commit is contained in:
parent
58fa44e8dc
commit
824b1ab28c
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue