Fix Make dependency file names
This commit is contained in:
parent
8b8b79e039
commit
510e5a2ee4
3
rules.mk
3
rules.mk
@ -340,7 +340,8 @@ LST = $(patsubst %.c,$(OBJDIR)/%.lst,$(patsubst %.cpp,$(OBJDIR)/%.lst,$(patsubst
|
|||||||
|
|
||||||
|
|
||||||
# Compiler flags to generate dependency files.
|
# Compiler flags to generate dependency files.
|
||||||
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
|
#GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
|
||||||
|
GENDEPFLAGS = -MMD -MP -MF .dep/$(subst /,_,$@).d
|
||||||
|
|
||||||
|
|
||||||
# Combine all necessary flags and optional flags.
|
# Combine all necessary flags and optional flags.
|
||||||
|
Reference in New Issue
Block a user