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