X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=rules.mk;h=b7387de0c76557bb6c10a3865f1a5950447b4f9c;hp=ac7ed7dc55c47d33e03a870b3338b7adf7114d2c;hb=c569b5d1b05f471fb5d89d0ed9aea5c4fffe4eb3;hpb=ce5a195f85b9cdaf5f412db4dda458fb976d6d36 diff --git a/rules.mk b/rules.mk index ac7ed7d..b7387de 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}