projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
physics setup to use local libbear
[physics.git]
/
rules.mk
diff --git
a/rules.mk
b/rules.mk
index
ac7ed7d
..
b7387de
100644
(file)
--- 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}
#${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}
# how to link the main target
${TARGETTMP_$P}: ${L_OBJS_$P} | $${@D}