Mercurial > hg > Members > kono > nitros9-code
changeset 2814:dd5499bc4bdd lwtools-port
Updated makefile(s) to create disk images and info for 3rdparty/utils/
Updated makefile(s) for boisy/, dasm/, dladd/, smartwatch/, supercomm/,
& winfo/ that are located in the 3rdparty/utils/ area. The update
includes creating a disk image for each with those commands in them.
Also added a info section to each of those makefile(s) and the makefile
in 3rdparty/utils/ as that makefile did not have a info section.
author | David Ladd <drencor-xeen@users.sf.net> |
---|---|
date | Tue, 12 Feb 2013 13:50:55 -0600 |
parents | b8445469ab90 |
children | 834007765b95 |
files | 3rdparty/utils/boisy/makefile 3rdparty/utils/dasm/makefile 3rdparty/utils/dladd/makefile 3rdparty/utils/makefile 3rdparty/utils/smartwatch/makefile 3rdparty/utils/supercomm/makefile 3rdparty/utils/winfo/makefile |
diffstat | 7 files changed, 143 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/3rdparty/utils/boisy/makefile Tue Feb 12 12:51:35 2013 -0600 +++ b/3rdparty/utils/boisy/makefile Tue Feb 12 13:50:55 2013 -0600 @@ -10,6 +10,10 @@ ALLOBJS = $(CMDS) +DSKBOISYUTILS = boisy_utils.dsk + +DSKS = $(DSKBOISYUTILS) + all: banner $(ALLOBJS) $(DEPENDS) banner: @@ -18,7 +22,23 @@ @$(ECHO) "* Boisy Pitre's Utilities *" @$(ECHO) "* *" @$(ECHO) "**************************************************" - + +$(DSKBOISYUTILS): $(CMDS) + -$(RM) $@ + $(OS9FORMAT) $@ + $(MAKDIR) $@,CMDS + $(CP) $(CMDS) $@,CMDS + $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + +dsk: all $(DSKS) + +dskcopy: dsk + $(CP) $(DSKS) $(DSKDIR) + clean: - $(RM) $(ALLOBJS) + $(RM) $(ALLOBJS) $(DSKS) +info: + @echo "*** Boisy Pitre's Utilities ***" + @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) +
--- a/3rdparty/utils/dasm/makefile Tue Feb 12 12:51:35 2013 -0600 +++ b/3rdparty/utils/dasm/makefile Tue Feb 12 13:50:55 2013 -0600 @@ -6,6 +6,10 @@ ALLOBJS = $(CMDS) +DSKDASM = dasm.dsk + +DSKS = $(DSKDASM) + all: banner $(ALLOBJS) $(DEPENDS) banner: @@ -14,7 +18,24 @@ @$(ECHO) "* Collyer Disassembler *" @$(ECHO) "* *" @$(ECHO) "**************************************************" - + +$(DSKDASM): $(CMDS) + -$(RM) $@ + $(OS9FORMAT) $@ + $(MAKDIR) $@,CMDS + $(CP) $(CMDS) $@,CMDS + $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + +dsk: all $(DSKS) + +dskcopy: dsk + $(CP) $(DSKS) $(DSKDIR) + clean: - $(RM) $(ALLOBJS) + $(RM) $(ALLOBJS) $(DSKS) +info: + @echo "*** Collyer Disassembler ***" + @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) + +
--- a/3rdparty/utils/dladd/makefile Tue Feb 12 12:51:35 2013 -0600 +++ b/3rdparty/utils/dladd/makefile Tue Feb 12 13:50:55 2013 -0600 @@ -4,19 +4,38 @@ CMDS = cls -DEFSDIR = $(CC68L1)/defs +ALLOBJS = $(CMDS) -ALLOBJS = $(CMDS) +DSKDLADDUTILS = dladd_utils.dsk + +DSKS = $(DSKDLADDUTILS) all: banner $(ALLOBJS) $(DEPENDS) banner: @$(ECHO) "**************************************************" @$(ECHO) "* *" - @$(ECHO) "* David Ladd tools *" + @$(ECHO) "* David Ladd's Utilities *" @$(ECHO) "* *" @$(ECHO) "**************************************************" - + +$(DSKDLADDUTILS): $(CMDS) + -$(RM) $@ + $(OS9FORMAT) $@ + $(MAKDIR) $@,CMDS + $(CP) $(CMDS) $@,CMDS + $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + +dsk: all $(DSKS) + +dskcopy: dsk + $(CP) $(DSKS) $(DSKDIR) + clean: - $(RM) $(ALLOBJS) + $(RM) $(ALLOBJS) $(DSKS) +info: + @echo "*** David Ladd's Utilities ***" + @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) + +
--- a/3rdparty/utils/makefile Tue Feb 12 12:51:35 2013 -0600 +++ b/3rdparty/utils/makefile Tue Feb 12 13:50:55 2013 -0600 @@ -22,3 +22,7 @@ # Copy DSK images dskcopy: $(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);) + +# info +info: + $(foreach dir, $(dirs), ($(CD) $(dir); make info);)
--- a/3rdparty/utils/smartwatch/makefile Tue Feb 12 12:51:35 2013 -0600 +++ b/3rdparty/utils/smartwatch/makefile Tue Feb 12 13:50:55 2013 -0600 @@ -6,6 +6,10 @@ ALLOBJS = $(CMDS) +DSKSMARTWATCH = smartwatch.dsk + +DSKS = $(DSKSMARTWATCH) + all: banner $(ALLOBJS) $(DEPENDS) banner: @@ -14,7 +18,24 @@ @$(ECHO) "* SmartWatch Utilities *" @$(ECHO) "* *" @$(ECHO) "**************************************************" - + +$(DSKSMARTWATCH): $(CMDS) + -$(RM) $@ + $(OS9FORMAT) $@ + $(MAKDIR) $@,CMDS + $(CP) $(CMDS) $@,CMDS + $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + +dsk: all $(DSKS) + +dskcopy: dsk + $(CP) $(DSKS) $(DSKDIR) + clean: - $(RM) $(ALLOBJS) + $(RM) $(ALLOBJS) $(DSKS) +info: + @echo "*** SmartWatch Utilities ***" + @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) + +
--- a/3rdparty/utils/supercomm/makefile Tue Feb 12 12:51:35 2013 -0600 +++ b/3rdparty/utils/supercomm/makefile Tue Feb 12 13:50:55 2013 -0600 @@ -6,6 +6,10 @@ ALLOBJS = $(CMDS) +DSKSUPERCOMM = supercomm.dsk + +DSKS = $(DSKSUPERCOMM) + all: banner $(ALLOBJS) $(DEPENDS) banner: @@ -14,7 +18,24 @@ @$(ECHO) "* Dave Phillipsen's Supercomm *" @$(ECHO) "* *" @$(ECHO) "**************************************************" - + +$(DSKSUPERCOMM): $(CMDS) + -$(RM) $@ + $(OS9FORMAT) $@ + $(MAKDIR) $@,CMDS + $(CP) $(CMDS) $@,CMDS + $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + +dsk: all $(DSKS) + +dskcopy: dsk + $(CP) $(DSKS) $(DSKDIR) + clean: - $(RM) $(ALLOBJS) + $(RM) $(ALLOBJS) $(DSKS) +info: + @echo "*** Dave Phillipsen's Supercomm ***" + @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) + +
--- a/3rdparty/utils/winfo/makefile Tue Feb 12 12:51:35 2013 -0600 +++ b/3rdparty/utils/winfo/makefile Tue Feb 12 13:50:55 2013 -0600 @@ -7,6 +7,10 @@ ALLOBJS = $(CMDS) $(SUBS) +DSKWINFO = winfo.dsk + +DSKS = $(DSKWINFO) + all: banner $(ALLOBJS) $(DEPENDS) banner: @@ -15,7 +19,26 @@ @$(ECHO) "* WInfo Utility *" @$(ECHO) "* *" @$(ECHO) "**************************************************" - + +$(DSKWINFO): $(CMDS) + -$(RM) $@ + $(OS9FORMAT) $@ + $(MAKDIR) $@,CMDS + $(CP) $(CMDS) $@,CMDS + $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + $(CP) $(SUBS) $@,CMDS + $(foreach file, $(SUBS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) + +dsk: all $(DSKS) + +dskcopy: dsk + $(CP) $(DSKS) $(DSKDIR) + clean: $(RM) $(ALLOBJS) +info: + @echo "*** WInfo Utility ***" + @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) + +