X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=rules.mk;h=31ffe12a992a8d412fed8920df09766957defc33;hb=3df10f61d83257210e237ab9e03c8a39fe0aa1e4;hp=ac7ed7dc55c47d33e03a870b3338b7adf7114d2c;hpb=6d8ae4070f65c0c2571556cbc8742bdda8011f43;p=physics.git diff --git a/rules.mk b/rules.mk index ac7ed7d..31ffe12 100644 --- a/rules.mk +++ b/rules.mk @@ -5,6 +5,12 @@ all: ${TARGET_$P} ${CFGS_$P} ${LIBSTXT_$P} ${LIBSCPY_$P} ${TXT_$P} #${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} @@ -14,10 +20,6 @@ ${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 $$@) ${cmd-cp}