| 1 | |
| 2 | NEWSRCS := # := start; empty |
| 3 | |
| 4 | NEWSRCS += graphics.cpp |
| 5 | |
| 6 | NEWDIRS := # := start; empty |
| 7 | |
| 8 | ################################################################################ |
| 9 | |
| 10 | NEWSRCS := $(addprefix ${CURDIR}/,${NEWSRCS}) |
| 11 | NEWDIRS := $(addprefix ${CURDIR}/,${NEWDIRS}) |
| 12 | |
| 13 | # Append to lists |
| 14 | |
| 15 | L_SRCS_$P += ${NEWSRCS} |
| 16 | |
| 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}%} |
| 22 | |