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