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