Mercurial > hg > Members > kono > nitros9-code
diff level2/coco3_6309/cmds/makefile @ 2048:127b30f90456
Added
author | boisy |
---|---|
date | Sun, 23 Apr 2006 17:44:50 +0000 |
parents | |
children | d63587190d9b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/level2/coco3_6309/cmds/makefile Sun Apr 23 17:44:50 2006 +0000 @@ -0,0 +1,63 @@ +PORT = coco3 +include $(NITROS9DIR)/rules.mak + +vpath %.asm $(6809L2)/cmds:$(6809L1)/cmds:$(3RDPARTY)/packages/basic09 + +DEPENDS = ./makefile + +CMDS = asm attr backup binex build cmp cobbler copy cputype \ + date dcheck debug ded deiniz del deldir devs dir dirsort disasm \ + display dmem dmode dsave dump echo edit error exbin \ + format free grfdrv help ident iniz irqs link list load login \ + makdir mdir megaread merge mfree mmap modpatch montype mpi os9gen padrom park \ + pmap proc procs prompt pwd pxd reboot rename runb save setime \ + shell_21 sleep smap tee tmode touch \ + tsmon tuneport unlink verify wcreate xmode +SUBS = gfx2 gfx inkey syscall + +SHELLMODS = shellplus date deiniz echo iniz link load save unlink +UTILPAK1 = attr build copy del deldir dir display list makdir mdir \ + merge mfree procs rename tmode + +# Files not compilable by os9asm: config +all: $(SUBS) $(CMDS) shell utilpak1 $(DEPENDS) + +runb: runb.asm + $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 + $(MERGE) $@ $(SUBS)>$@.tmp + $(RM) $@ + $(MOVE) $@.tmp $@ + +tmode: xmode.asm + $(AS) $(AFLAGS) $< $(ASOUT)$@ -aTMODE=1 + +xmode: xmode.asm + $(AS) $(AFLAGS) $< $(ASOUT)$@ -aXMODE=1 + +pwd: pd.asm + $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 + +pxd: pd.asm + $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1 + +shell: $(SHELLMODS) $(DEPENDS) + $(MERGE) $(SHELLMODS)>$@ + @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" + @ls -l $@ + @$(ECHO) "" + +utilpak1: $(UTILPAK1) $(DEPENDS) + $(MERGE) $(UTILPAK1)>$@ + @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" + @ls -l $@ + @$(ECHO) "" + +clean: + $(RM) shell utilpak1 $(SUBS) $(SHELLMODS) $(CMDS) + +# Only $(CMDS) are shown here +showobjs: + @$(ECHO) shell utilpak1 $(CMDS) + +identify: + $(IDENT_SHORT) $(ALLOBJS)