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