Commit | Line | Data |
---|---|---|
6d8ae407 PG |
1 | |
2 | NEWSRCS := # := start; empty | |
3 | ||
4 | NEWSRCS += graphics.cpp | |
5 | ||
6 | NEWDIRS := # := start; empty | |
7 | ||
8 | ################################################################################ | |
9 | ||
5dc2e2fa PG |
10 | NEWSRCS := $(addprefix ${CURDIR}/,${NEWSRCS}) |
11 | NEWDIRS := $(addprefix ${CURDIR}/,${NEWDIRS}) | |
6d8ae407 PG |
12 | |
13 | # Append to lists | |
14 | ||
15 | L_SRCS_$P += ${NEWSRCS} | |
6d8ae407 | 16 | |
ce5a195f PG |
17 | L_OBJS_$P += ${NEWSRCS:${SRCSDIR_$P}%.cpp=${OBJSDIR_$P}%.o} |
18 | L_DEPS_$P += ${NEWSRCS:${SRCSDIR_$P}%.cpp=${DEPSDIR_$P}%.d} | |
19 | ||
20 | L_BLDDIRS_$P += ${NEWDIRS:${SRCSDIR_$P}%=${OBJSDIR_$P}%} | |
21 | L_BLDDIRS_$P += ${NEWDIRS:${SRCSDIR_$P}%=${DEPSDIR_$P}%} | |
6d8ae407 | 22 |