summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-02-15 13:45:59 +0900
committertmk <nobody@nowhere>2013-02-15 13:45:59 +0900
commitc74ad260fb45b2deec0309d9a9cbac3c0434886b (patch)
tree52ec391d56fd8770ba9d36b97adfa1e1ca1b5ecf /rules.mk
parenta4aae1c5055d24c400f78fd44618aef5916adc0c (diff)
Fix Make dependency file names
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 2e4fce518f..7a40d1de9f 100644
--- a/rules.mk
+++ b/rules.mk
@@ -340,7 +340,8 @@ 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 .dep/$(@F).d
+GENDEPFLAGS = -MMD -MP -MF .dep/$(subst /,_,$@).d
# Combine all necessary flags and optional flags.