Commit | Line | Data |
---|---|---|
6d8ae407 PG |
1 | |
2 | T_DIRNAME := physics | |
3 | ||
4 | ################################################################################ | |
5 | ||
6 | # top define | |
7 | DIRNAME := ${T_DIRNAME} | |
8 | D := ${DIRNAME} | |
9 | P := ${DIRNAME} | |
5dc2e2fa | 10 | CURDIR := ${DIRNAME} |
6d8ae407 PG |
11 | |
12 | T_DIRNAME := | |
13 | ||
5dc2e2fa | 14 | include ${CURDIR}/${G_VARSMK} |
6d8ae407 | 15 | |
5dc2e2fa | 16 | include ${CURDIR}/${G_LISTSMK} |
6d8ae407 | 17 | |
5dc2e2fa | 18 | include ${SRCSDIR_$P}/${G_DIRMK} |
6d8ae407 | 19 | |
5dc2e2fa | 20 | include ${CURDIR}/${G_TVARSMK} |
6d8ae407 | 21 | |
5dc2e2fa | 22 | include ${CURDIR}/${G_RULESMK} |
6d8ae407 | 23 | |
6d8ae407 PG |
24 | L_BLDDIRS_$P += ${DSTCFGDIR_$P} |
25 | L_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) | |
32 | L_BLDDIRS_$P += ${OBJSDIR_$P} | |
33 | L_BLDDIRS_$P += ${DEPSDIR_$P} | |
34 | L_BLDDIRS_$P += ${BINDIR_$P} | |
35 | ||
6d8ae407 PG |
36 | L_DEPS += ${L_DEPS_$P} |
37 | L_BLDDIRS += ${L_BLDDIRS_$P} | |
38 |