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