giving more control to dir.mk files
[physics.git] / src / Entities / dir.mk
CommitLineData
16f14459
PG
1NEWSRCS := # insure blank
2
3NEWSRCS += Ball.cpp
4NEWSRCS += Entity.cpp
5NEWSRCS += Line.cpp
6NEWSRCS += Particle.cpp
7NEWSRCS += PhysicsEntity.cpp
8NEWSRCS += Point.cpp
9NEWSRCS += Polygon.cpp
10NEWSRCS += WindParticle.cpp
11
12
13# Post dir setup
14
0376f786 15CURDIR := Entities/
0376f786 16
16f14459
PG
17NEWSRCS := $(addprefix ${CURDIR},${NEWSRCS})
18NEWOBJS := ${NEWSRCS:.cpp=.o}
19NEWDEPS := ${NEWSRCS:.cpp=.d}
0376f786 20
16f14459 21# Append to lists
0376f786 22
16f14459
PG
23SRCS += ${NEWSRCS}
24OBJS += $(addprefix ${OBJSDIR},${NEWOBJS})
25DEPS += $(addprefix ${DEPSDIR},${NEWDEPS})