giving more control to dir.mk files
[physics.git] / src / Entities / dir.mk
... / ...
CommitLineData
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
15CURDIR := Entities/
16
17NEWSRCS := $(addprefix ${CURDIR},${NEWSRCS})
18NEWOBJS := ${NEWSRCS:.cpp=.o}
19NEWDEPS := ${NEWSRCS:.cpp=.d}
20
21# Append to lists
22
23SRCS += ${NEWSRCS}
24OBJS += $(addprefix ${OBJSDIR},${NEWOBJS})
25DEPS += $(addprefix ${DEPSDIR},${NEWDEPS})