X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2Fgraphics%2Ffiles.mk;h=bb292ddb3c087c7b32ce166e437ec0bdee4fcf6c;hb=ce5a195f85b9cdaf5f412db4dda458fb976d6d36;hp=3a9c271b051f2b988e0d023d5bdafb25663c62ee;hpb=e4d7555ada4b164f6ee12019356bdb0a12c5fbf9;p=physics.git diff --git a/src/graphics/files.mk b/src/graphics/files.mk index 3a9c271..bb292dd 100644 --- a/src/graphics/files.mk +++ b/src/graphics/files.mk @@ -1,8 +1,22 @@ -CURDIR := graphics/ -FILES := # insure blank -FILES += graphics.cpp +NEWSRCS := # := start; empty -FILES := $(addprefix ${CURDIR},${FILES}) +NEWSRCS += graphics.cpp + +NEWDIRS := # := start; empty + +################################################################################ + +NEWSRCS := $(addprefix ${CURDIR},${NEWSRCS}) +NEWDIRS := $(addprefix ${CURDIR},${NEWDIRS}) + +# Append to lists + +L_SRCS_$P += ${NEWSRCS} + +L_OBJS_$P += ${NEWSRCS:${SRCSDIR_$P}%.cpp=${OBJSDIR_$P}%.o} +L_DEPS_$P += ${NEWSRCS:${SRCSDIR_$P}%.cpp=${DEPSDIR_$P}%.d} + +L_BLDDIRS_$P += ${NEWDIRS:${SRCSDIR_$P}%=${OBJSDIR_$P}%} +L_BLDDIRS_$P += ${NEWDIRS:${SRCSDIR_$P}%=${DEPSDIR_$P}%} -SRCS += ${FILES}