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