Commit | Line | Data |
---|---|---|
6d8ae407 PG |
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 | ||
5dc2e2fa PG |
17 | NEWSRCS := $(addprefix ${CURDIR}/,${NEWSRCS}) |
18 | NEWDIRS := $(addprefix ${CURDIR}/,${NEWDIRS}) | |
6d8ae407 PG |
19 | |
20 | # Append to lists | |
21 | ||
22 | L_SRCS_$P += ${NEWSRCS} | |
6d8ae407 | 23 | |
ce5a195f PG |
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}%} | |
6d8ae407 | 29 |