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