5f46c30d83593d5cde9e2d672a0613561e694a73
[physics.git] / src / dir.mk
1 NEWSRCS := # insure blank
2
3 NEWSRCS += game.cpp
4 NEWSRCS += main.cpp
5 NEWSRCS += mathw.cpp
6 NEWSRCS += ticks.cpp
7 NEWSRCS += Vector2.cpp
8 NEWSRCS += handleSignal.cpp
9
10 NEWSRCS += entityCreator.cpp
11 NEWSRCS += entityManager.cpp
12 NEWSRCS += effectManager.cpp
13 NEWSRCS += collisionManager.cpp
14 NEWSRCS += CollisionInfo.cpp
15
16 NEWSRCS += debug.cpp
17
18
19 # Post dir setup
20
21 CURDIR  := ./
22
23 NEWSRCS := $(addprefix ${CURDIR},${NEWSRCS})
24 NEWOBJS := ${NEWSRCS:.cpp=.o}
25 NEWDEPS := ${NEWSRCS:.cpp=.d}
26
27 # Append to lists
28
29 SRCS    += ${NEWSRCS}
30 OBJS    += $(addprefix ${OBJSDIR},${NEWOBJS})
31 DEPS    += $(addprefix ${DEPSDIR},${NEWDEPS})