X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=rules.mk;fp=rules.mk;h=3df1511c5a9223b8146b1053371f737bc8f568eb;hp=b2e3ed1f29ccc9f09895617db83c5639158a091c;hb=2d2d614e87bd6ffc4ec4c7877e18b5f8eb461e4b;hpb=9463d925ac8a0670c3a93177bb7ae6a58376b76a diff --git a/rules.mk b/rules.mk index b2e3ed1..3df1511 100644 --- a/rules.mk +++ b/rules.mk @@ -9,11 +9,11 @@ deps-physics: ${L_DEPS_$P} all: physics -${TARGETTMP_$D}: ${BINDIR_$P}${SONAME_${G_LIB}} +${TARGETTMP_$D}: ${BINDIR_$P}${LIBSDIRNAME_$P}${SONAME_${G_LIB}} -# how to copy a library to the tests bin directory -${BINDIR_$P}${SONAME_${G_LIB}}: ${TARGET_${G_LIB}} | $${@D} +# rule to copy library lib into the working directory +${BINDIR_$P}${LIBSDIRNAME_$P}${SONAME_${G_LIB}}: ${TARGET_${G_LIB}} | $${@D} ${cmd-cp} # how to link the main target