giving more control to dir.mk files
[physics.git] / src / Effects / dir.mk
CommitLineData
16f14459 1NEWSRCS := # insure blank
0376f786 2
16f14459
PG
3NEWSRCS += Effect.cpp
4NEWSRCS += Gravity.cpp
5NEWSRCS += GravityWell.cpp
6NEWSRCS += Screen.cpp
0376f786 7
0376f786 8
16f14459
PG
9# Post dir setup
10
11CURDIR := Effects/
12
13NEWSRCS := $(addprefix ${CURDIR},${NEWSRCS})
14NEWOBJS := ${NEWSRCS:.cpp=.o}
15NEWDEPS := ${NEWSRCS:.cpp=.d}
16
17# Append to lists
18
19SRCS += ${NEWSRCS}
20OBJS += $(addprefix ${OBJSDIR},${NEWOBJS})
21DEPS += $(addprefix ${DEPSDIR},${NEWDEPS})