Commit f3598d27 authored by David Cotton's avatar David Cotton
Browse files

Altered Makefile to automatically create and delete the rm.{MACHINE} directory.

Version 1.58. Tagged as 'Debugger-1_58'
parent 3f68f325
......@@ -34,9 +34,11 @@ MKDIR = cdir
AS = aasm
CP = copy
RM = remove
WIPE = wipe
CCFLAGS = -c -depend !Depend -IC:
ASFLAGS = -depend !Depend -Stamp -quit -module -To $@ -From
CPFLAGS = ~cfr~v
WFLAGS = ~c~v
TOKENISE = tokenise
TOKENS = Hdr:Tokens
......@@ -52,7 +54,7 @@ EXPORTS = ${EXP_HDR}.Debugger
#
# Generic rules:
#
rom: $(TARGET)
rom: $(TARGET) local_dirs
@echo ${COMPONENT}: rom module built
export: ${EXPORTS}
......@@ -63,6 +65,8 @@ install_rom: $(TARGET)
@echo ${COMPONENT}: rom module installed
clean:
${WIPE} rm.${MACHINE} ${WFLAGS}
${RM} rm.${MACHINE}
$(RM) $(TARGET)
$(RM) TokHelpSrc
@echo ${COMPONENT}: cleaned
......@@ -82,6 +86,9 @@ resources-: resources_common
TokenCheck LocalRes:CmdHelp
print LocalRes:CmdHelp { >> ${RESDIR}.${COMPONENT}.Messages }
local_dirs:
${MKDIR} rm.${MACHINE}
$(TARGET): $(SOURCE) TokHelpSrc
${MKDIR} rm.${MACHINE}
$(AS) $(ASFLAGS) $(SOURCE)
......@@ -92,4 +99,5 @@ ${EXP_HDR}.Debugger: hdr.Debugger
TokHelpSrc: $(TOKENS) HelpSrc
$(TOKENISE) $(TOKENS) HelpSrc $@
# Dynamic dependencies:
......@@ -5,8 +5,10 @@
GBLA Module_Version
GBLS Module_MinorVersion
GBLS Module_Date
Module_MajorVersion SETS "1.57"
Module_Version SETA 157
GBLS Module_FullVersion
Module_MajorVersion SETS "1.58"
Module_Version SETA 158
Module_MinorVersion SETS ""
Module_Date SETS "21 Sep 1998"
END
Module_Date SETS "19 Apr 1999"
Module_FullVersion SETS "1.58"
END
/* (1.57)
/* (1.58)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 1.57
#define Module_MajorVersion_CMHG 1.58
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 21 Sep 1998
#define Module_Date_CMHG 19 Apr 1999
#define Module_MajorVersion "1.57"
#define Module_Version 157
#define Module_MajorVersion "1.58"
#define Module_Version 158
#define Module_MinorVersion ""
#define Module_Date "21 Sep 1998"
#define Module_Date "19 Apr 1999"
#define Module_FullVersion "1.58"
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