# DON'T simply use another sed delimiter or it can't appear in the file paths
${DEPSDIR_$P}%.d: ${SRCSDIR_$P}%.cpp | $${@D}
${Q1}${PRNTFMT} "DEP" "$@"
- ${Q2}${CXX} -MM ${CXXFLAGS} $< ${INCFLAGS} | \
- sed 's/\(^.*\):/$(subst /,\/,${@:${DEPSDIR}%.d=${OBJSDIR}%.o} $@):/' > $@
+ ${Q2}${CXX} -MM ${CXXFLAGS} $< ${INCFLAGS} | sed 's/\(^.*\):/$(subst /,\/,${@:${DEPSDIR}%.d=${OBJSDIR}%.o} $@):/' > $@
L_CLEANCMDS += $P-cleanbin
# DON'T simply use another sed delimiter or it can't appear in the file paths
${DEPSDIR_$P}%.d: ${SRCSDIR_$P}%.cpp | $${@D}
${Q1}${PRNTFMT} "DEP" "$@"
- ${Q2}${CXX} -MM ${CXXFLAGS} $< ${INCFLAGS} | \
- sed 's/\(^.*\):/$(subst /,\/,${OBJSDIR}\1 $@):/' > $@
+ ${Q2}${CXX} -MM ${CXXFLAGS} $< ${INCFLAGS} | sed 's/\(^.*\):/$(subst /,\/,${@:${DEPSDIR}%.d=${OBJSDIR}%.o} $@):/' > $@
CLEANCMDS += $P-cleanbin
.PHONY: $P-cleanbin