make system changed to be a subset of the library make system
[physics.git] / src / dir.mk
CommitLineData
0376f786 1
6d8ae407 2T_DIRNAME := src
0376f786 3
6d8ae407 4################################################################################
0376f786 5
6d8ae407
PG
6# save
7T := $D_TEMP
8 DIRNAME_$T := ${DIRNAME}
9 D_$T := $D
0376f786 10
6d8ae407
PG
11 DIRNAME := ${T_DIRNAME}
12 D := $D_${DIRNAME}
07af3cf8 13
6d8ae407
PG
14 DIRNAME_$D := ${DIRNAME_$T}
15 D_$D := ${D_$T}
07af3cf8 16
6d8ae407
PG
17 DIRNAME_$T :=
18 D_$T :=
19T :=
07af3cf8 20
6d8ae407 21T_DIRNAME :=
16f14459 22
6d8ae407
PG
23CURDIR_$D := ${CURDIR}
24CURDIR := ${CURDIR_$D}${DIRNAME}/
16f14459 25
6d8ae407
PG
26# top define
27SRCPATH :=
16f14459 28
16f14459 29
6d8ae407
PG
30include ${CURDIR}${G_FILESMK}
31include $(addprefix ${SRCSDIR_$P},$(addsuffix ${G_DIRMK},${NEWDIRS}))
07af3cf8
PG
32
33
6d8ae407
PG
34# restore
35
36CURDIR := ${CURDIR_$D}
37SRCPATH :=
38DIRNAME := ${DIRNAME_$D}
39D := ${D_$D}
40