giving more control to dir.mk files
[physics.git] / Makefile
index 85ac199..e50347d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,19 +26,17 @@ DIRS += locks/
 SRCSDIR := src/
 SRCS    := # := start
 
+OBJSDIR := objsd/
+OBJS    := # := start
+
+DEPSDIR := deps/
+DEPS    := # := start
+
 # include all of the dir.mk
 include $(addprefix ${SRCSDIR},$(addsuffix dir.mk,${DIRS}))
 
 WORKINGDIR  := bind/
 
-OBJSDIR := objsd/
-OBJS    := ${SRCS:.cpp=.o}
-OBJS    := $(addprefix ${OBJSDIR},${OBJS})
-
-DEPSDIR := deps/
-DEPS    := ${SRCS:.cpp=.d}
-DEPS    := $(addprefix ${DEPSDIR},${DEPS})
-
 CFGDIRNAME := configs/
 SRCCFGDIR  := ${CFGDIRNAME}
 DSTCFGDIR  := ${WORKINGDIR}${CFGDIRNAME}