X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2Fgraphics%2Fdir.mk;h=7028eef6da51c67ed858b132a1b5cb6f26973200;hp=3a9c271b051f2b988e0d023d5bdafb25663c62ee;hb=16f1445959244e40f1d68afb175a87c613e4b6f0;hpb=70468808f161d45b9ae0eecf5d9d854a805bd855 diff --git a/src/graphics/dir.mk b/src/graphics/dir.mk index 3a9c271..7028eef 100644 --- a/src/graphics/dir.mk +++ b/src/graphics/dir.mk @@ -1,8 +1,18 @@ +NEWSRCS := # insure blank + +NEWSRCS += graphics.cpp + + +# Post dir setup + CURDIR := graphics/ -FILES := # insure blank -FILES += graphics.cpp +NEWSRCS := $(addprefix ${CURDIR},${NEWSRCS}) +NEWOBJS := ${NEWSRCS:.cpp=.o} +NEWDEPS := ${NEWSRCS:.cpp=.d} -FILES := $(addprefix ${CURDIR},${FILES}) +# Append to lists -SRCS += ${FILES} +SRCS += ${NEWSRCS} +OBJS += $(addprefix ${OBJSDIR},${NEWOBJS}) +DEPS += $(addprefix ${DEPSDIR},${NEWDEPS})