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