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