]> git.donarmstrong.com Git - tmk_firmware.git/commitdiff
Fix Make dependency file names
authortmk <nobody@nowhere>
Fri, 15 Feb 2013 04:45:59 +0000 (13:45 +0900)
committertmk <nobody@nowhere>
Fri, 15 Feb 2013 04:45:59 +0000 (13:45 +0900)
rules.mk

index 2e4fce518f01663cee7697fe1718922b09ffa404..7a40d1de9f4ae5a05015a9896b1dec0cb434a3c3 100644 (file)
--- 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.