mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-25 03:21:56 +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' $$<
|
@printf '%-20.20s\r' $$<
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
$(.)$(cc) -MM -MF $$@ -MT $(objdir)/$$(*F).o $(2) $$<
|
$(.)$(cc) -MM -MF $$@ -MT $(objdir)/$$*.o $(2) $$<
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call _recipe,c))
|
$(eval $(call _recipe,c))
|
||||||
|
|
Loading…
Reference in a new issue