Skip to content

Commit

Permalink
Fix name of makefile dep files
Browse files Browse the repository at this point in the history
The files can't start with a .dot, as the wildcard function wont
find them. So this is fixed by removing the BUILD_DIR from the
name.
  • Loading branch information
fredizzimo committed Jul 8, 2016
1 parent 8610481 commit e8e300d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ LST = $(patsubst %.c,$(OBJDIR)/%.lst,$(patsubst %.cpp,$(OBJDIR)/%.lst,$(patsubst

# Compiler flags to generate dependency files.
#GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
GENDEPFLAGS = -MMD -MP -MF $(BUILD_DIR)/.dep/$(subst /,_,$@).d
GENDEPFLAGS = -MMD -MP -MF $(BUILD_DIR)/.dep/$(subst /,_,$(subst $(BUILD_DIR)/,,$@)).d


# Combine all necessary flags and optional flags.
Expand Down

0 comments on commit e8e300d

Please sign in to comment.