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