${TARGET_$P}: ${TARGETTMP_$P} | $${@D}
${cmd-cp}
-# how to copy a library to the bin directory
-#${BINDIR_$P}${SONAME_${G_LIB}}: ${TARGET_${G_LIB}} | $${@D}
-# ${cmd-cp}
-
# rule to copy the config files into the working directory
-${DSTCFGDIR_$P}%: ${SRCCFGDIR_$P}% | $$(dir $$@)
+${DSTCFGDIR_$P}%: ${SRCCFGDIR_$P}% | $${@D}
${cmd-cp}
# rule to copy the library files into the working directory
-${DSTLIBSDIR_$P}%: ${SRCLIBSDIR_$P}% | $$(dir $$@)
+${DSTLIBSDIR_$P}%: ${SRCLIBSDIR_$P}% | $${@D}
${cmd-cp}
# rule to copy the text files into the working directory
-${DSTTXTDIR_$P}%: ${SRCTXTDIR_$P}% | $$(dir $$@)
+${DSTTXTDIR_$P}%: ${SRCTXTDIR_$P}% | $${@D}
${cmd-cp}
# rule to make an object file from a .cpp