finished changes to deps directory building
[physics.git] / dir.mk
CommitLineData
6d8ae407
PG
1
2T_DIRNAME := physics
3
4################################################################################
5
6# top define
7DIRNAME := ${T_DIRNAME}
8D := ${DIRNAME}
9P := ${DIRNAME}
5dc2e2fa 10CURDIR := ${DIRNAME}
6d8ae407
PG
11
12T_DIRNAME :=
13
5dc2e2fa 14include ${CURDIR}/${G_VARSMK}
6d8ae407 15
5dc2e2fa 16include ${CURDIR}/${G_LISTSMK}
6d8ae407 17
5dc2e2fa 18include ${SRCSDIR_$P}/${G_DIRMK}
6d8ae407 19
5dc2e2fa 20include ${CURDIR}/${G_TVARSMK}
6d8ae407 21
5dc2e2fa 22include ${CURDIR}/${G_RULESMK}
6d8ae407 23
6d8ae407
PG
24L_BLDDIRS_$P += ${DSTCFGDIR_$P}
25L_BLDDIRS_$P += ${DSTLIBSDIR_$P}
26
9463d925
PG
27# every directory depends on its parent
28${L_BLDDIRS_$P}: | $${@D}
29
8051e60d
PG
30# however, these do not depend on parent
31# (to prevent circular dep with phony physics)
32L_BLDDIRS_$P += ${OBJSDIR_$P}
33L_BLDDIRS_$P += ${DEPSDIR_$P}
34L_BLDDIRS_$P += ${BINDIR_$P}
35
6d8ae407
PG
36L_DEPS += ${L_DEPS_$P}
37L_BLDDIRS += ${L_BLDDIRS_$P}
38