projects
/
physics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2d2d614
)
fixed circual dep issue with phony physics target
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 25 Jul 2009 23:51:18 +0000
(19:51 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 25 Jul 2009 23:51:18 +0000
(19:51 -0400)
dir.mk
patch
|
blob
|
blame
|
history
diff --git
a/dir.mk
b/dir.mk
index
98893ba
..
6bad4d4
100644
(file)
--- a/
dir.mk
+++ b/
dir.mk
@@
-21,15
+21,18
@@
include ${CURDIR}${G_TVARSMK}
include ${CURDIR}${G_RULESMK}
include ${CURDIR}${G_RULESMK}
-L_BLDDIRS_$P += ${OBJSDIR_$P}
-L_BLDDIRS_$P += ${DEPSDIR_$P}
-L_BLDDIRS_$P += ${BINDIR_$P}
L_BLDDIRS_$P += ${DSTCFGDIR_$P}
L_BLDDIRS_$P += ${DSTLIBSDIR_$P}
# every directory depends on its parent
${L_BLDDIRS_$P}: | $${@D}
L_BLDDIRS_$P += ${DSTCFGDIR_$P}
L_BLDDIRS_$P += ${DSTLIBSDIR_$P}
# every directory depends on its parent
${L_BLDDIRS_$P}: | $${@D}
+# however, these do not depend on parent
+# (to prevent circular dep with phony physics)
+L_BLDDIRS_$P += ${OBJSDIR_$P}
+L_BLDDIRS_$P += ${DEPSDIR_$P}
+L_BLDDIRS_$P += ${BINDIR_$P}
+
L_DEPS += ${L_DEPS_$P}
L_BLDDIRS += ${L_BLDDIRS_$P}
L_DEPS += ${L_DEPS_$P}
L_BLDDIRS += ${L_BLDDIRS_$P}