include ${VARSMK}
# include all of the dir.mk
-include src/${DIRMK}
+include lib/${DIRMK}
-CURDIR := src/
-SRCPATH :=
+CURDIR := lib/
+#SRCPATH := # Not used at this level
include ${CURDIR}${VARSMK}
-include ${CURDIR}${FILESMK}
# steps on variables
-include $(addprefix ${SRCSDIR},$(addsuffix ${DIRMK},${NEWDIRS}))
+include ${SRCSDIR}${DIRMK}
# Restore variables
-CURDIR := src/
-SRCPATH :=
+CURDIR := lib/
+#SRCPATH := # Not used at this level
include ${CURDIR}${RULESMK}
--- /dev/null
+
+CURDIR := lib/src/
+SRCPATH :=
+
+include ${CURDIR}${FILESMK}
+include $(addprefix ${SRCSDIR},$(addsuffix ${DIRMK},${NEWDIRS}))
-CURDIR := src/locks/
+CURDIR := lib/src/locks/
SRCPATH := locks/
include ${CURDIR}${FILESMK}
-SRCSDIR := src/
-DEPSDIR := deps/
-INCDIRS := ${SRCSDIR} inc/
+SRCSDIR := ${CURDIR}src/
+DEPSDIR := ${CURDIR}deps/
+INCDIRS := ${SRCSDIR} ${CURDIR}inc/
ifeq (${BUILD},WIN32)
- OBJSDIR := objs-mingw32/
+ OBJSDIR := ${CURDIR}objs-mingw32/
else
ifeq (${BUILD},FINAL)
- OBJSDIR := objs/
+ OBJSDIR := ${CURDIR}objs/
else
- OBJSDIR := objsd/
+ OBJSDIR := ${CURDIR}objsd/
endif
endif
ifeq (${BUILD},WIN32)
- WORKINGDIR := bin-mingw32/
+ WORKINGDIR := ${CURDIR}bin-mingw32/
else
ifeq (${BUILD},FINAL)
- WORKINGDIR := bin/
+ WORKINGDIR := ${CURDIR}bin/
else
- WORKINGDIR := bind/
+ WORKINGDIR := ${CURDIR}bind/
endif
endif