giving more control to dir.mk files
[physics.git] / src / GameStates / dir.mk
... / ...
CommitLineData
1NEWSRCS := # insure blank
2
3NEWSRCS += CreatingPolygon.cpp
4NEWSRCS += GameState.cpp
5NEWSRCS += Paused.cpp
6NEWSRCS += Running.cpp
7
8
9# Post dir setup
10
11CURDIR := GameStates/
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})