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