#${G_OBJS_TESTS}: ${L_OBJS_$P}
#${G_DEPS_TESTS}: ${L_DEPS_$P}
+${TARGETTMP_$D}: ${BINDIR_$P}${SONAME_${G_LIB}}
+
+
+# how to copy a library to the tests bin directory
+${BINDIR_$P}${SONAME_${G_LIB}}: ${TARGET_${G_LIB}} | $${@D}
+ ${cmd-cp}
# how to link the main target
${TARGETTMP_$P}: ${L_OBJS_$P} | $${@D}