From: Patrik Gornicz Date: Sat, 25 Jul 2009 23:51:18 +0000 (-0400) Subject: fixed circual dep issue with phony physics target X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=8051e60d246ffb396d4d9dc417b632b6e18215d8 fixed circual dep issue with phony physics target --- diff --git a/dir.mk b/dir.mk index 98893ba..6bad4d4 100644 --- a/dir.mk +++ b/dir.mk @@ -21,15 +21,18 @@ include ${CURDIR}${G_TVARSMK} 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} +# 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}