finished changes to deps directory building
[physics.git] / src / Entities / files.mk
CommitLineData
6d8ae407
PG
1
2NEWSRCS := # := start; empty
3
4NEWSRCS += Ball.cpp
5NEWSRCS += Entity.cpp
6NEWSRCS += Line.cpp
7NEWSRCS += Particle.cpp
8NEWSRCS += PhysicsEntity.cpp
9NEWSRCS += Point.cpp
10NEWSRCS += Polygon.cpp
11NEWSRCS += WindParticle.cpp
12
13NEWDIRS := # := start; empty
14
15################################################################################
16
5dc2e2fa
PG
17NEWSRCS := $(addprefix ${CURDIR}/,${NEWSRCS})
18NEWDIRS := $(addprefix ${CURDIR}/,${NEWDIRS})
6d8ae407
PG
19
20# Append to lists
21
22L_SRCS_$P += ${NEWSRCS}
6d8ae407 23
ce5a195f
PG
24L_OBJS_$P += ${NEWSRCS:${SRCSDIR_$P}%.cpp=${OBJSDIR_$P}%.o}
25L_DEPS_$P += ${NEWSRCS:${SRCSDIR_$P}%.cpp=${DEPSDIR_$P}%.d}
26
27L_BLDDIRS_$P += ${NEWDIRS:${SRCSDIR_$P}%=${OBJSDIR_$P}%}
28L_BLDDIRS_$P += ${NEWDIRS:${SRCSDIR_$P}%=${DEPSDIR_$P}%}
6d8ae407 29