| | 1 | |
| | 2 | NEWSRCS := # := start; empty |
| | 3 | |
| | 4 | NEWSRCS += game.cpp |
| | 5 | NEWSRCS += main.cpp |
| | 6 | NEWSRCS += handleSignal.cpp |
| | 7 | |
| | 8 | NEWSRCS += entityCreator.cpp |
| | 9 | NEWSRCS += entityManager.cpp |
| | 10 | NEWSRCS += effectManager.cpp |
| | 11 | NEWSRCS += collisionManager.cpp |
| | 12 | NEWSRCS += CollisionInfo.cpp |
| | 13 | |
| | 14 | NEWDIRS := # := start; empty |
| | 15 | |
| | 16 | NEWDIRS += Entities |
| | 17 | NEWDIRS += GameStates |
| | 18 | NEWDIRS += Effects |
| | 19 | NEWDIRS += config |
| | 20 | NEWDIRS += input |
| | 21 | NEWDIRS += graphics |
| | 22 | |
| | 23 | ################################################################################ |
| | 24 | |
| | 25 | NEWSRCS := $(addprefix ${CURDIR}/,${NEWSRCS}) |
| | 26 | NEWDIRS := $(addprefix ${CURDIR}/,${NEWDIRS}) |
| | 27 | |
| | 28 | # Append to lists |
| | 29 | |
| | 30 | L_SRCS_$P += ${NEWSRCS} |
| | 31 | |
| | 32 | L_OBJS_$P += ${NEWSRCS:${SRCSDIR_$P}%.cpp=${OBJSDIR_$P}%.o} |
| | 33 | L_DEPS_$P += ${NEWSRCS:${SRCSDIR_$P}%.cpp=${DEPSDIR_$P}%.d} |
| | 34 | |
| | 35 | L_BLDDIRS_$P += ${NEWDIRS:${SRCSDIR_$P}%=${OBJSDIR_$P}%} |
| | 36 | L_BLDDIRS_$P += ${NEWDIRS:${SRCSDIR_$P}%=${DEPSDIR_$P}%} |
| | 37 | |