fixed non-used argument, compiler warnings
[physics.git] / rules.mk
index b7387de..7a4a728 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -20,20 +20,16 @@ ${TARGETTMP_$P}: ${L_OBJS_$P} | $${@D}
 ${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