Commit 285ebcab authored by John Beranek's avatar John Beranek
Browse files

* Tidied build process. Now creates o.dirs when it creates o and z dirs, and...

* Tidied build process.  Now creates o.dirs when it creates o and z dirs, and make clean  wipes these folders completely now. MkClean now does stripdepend, if it is available.

 * No source changes, so no version increment


Version 0.04. Not tagged
parent 2a1419d7
......@@ -14,3 +14,4 @@
|
Dir <Obey$Dir>
amu_machine clean
ifthere Run:stripdepnd then stripdepnd -v <obey$Dir>.Makefile
......@@ -85,7 +85,7 @@ OBJZM = z.${COMPONENT}
#
# Build
#
all: ${COMPONENT} ${COMPONENTZM} ${LCOMPONENT} ${LCOMPONENTZM} local_dirs
all: ${COMPONENT} ${COMPONENTZM} ${LCOMPONENT} ${LCOMPONENTZM} o.dirs
@echo ${COMPONENT}: all complete
${COMPONENT}: ${OBJ}
......@@ -100,13 +100,15 @@ ${LCOMPONENT}: ${OBJ}
${LCOMPONENTZM}: ${OBJZM}
${LIBFILE} -o ${LCOMPONENTZM} -c ${OBJZM}
local_dirs:
o.dirs:
${MKDIR} o
${MKDIR} z
create o.dirs
stamp o.dirs
clean:
${WIPE} o.${COMPONENT} ${WFLAGS}
${WIPE} z.${COMPONENT} ${WFLAGS}
${WIPE} o ${WFLAGS}
${WIPE} z ${WFLAGS}
${WIPE} ${COMPONENT} ${WFLAGS}
${WIPE} ${COMPONENTZM} ${WFLAGS}
${WIPE} ${LCOMPONENT} ${WFLAGS}
......@@ -121,7 +123,7 @@ export_hdrs:
${CP} h.${COMPONENT} ${DEBUGLIB}.h.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: export complete (hdrs)
export_libs: ${COMPONENT} ${COMPONENTZM} ${LCOMPONENT} ${LCOMPONENTZM} local_dirs
export_libs: ${COMPONENT} ${COMPONENTZM} ${LCOMPONENT} ${LCOMPONENTZM} o.dirs
${MKDIR} ${DEBUGLIB}
${MKDIR} ${DEBUGLIB}.o
${CP} ${COMPONENT} ${DEBUGLIB}.o.${COMPONENT} ${CPFLAGS}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment