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