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