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