Mercurial > hg > Members > kono > nitros9-code
view level2/coco3/cmds/makefile @ 3210:6353bb024571
Created makefile and defsfile for NoCan RAMMER module driver and descriptor
Updated rammer.asm in the NoCan driver folder to build the NoCan version of the Driver
Updated r0.asm file to create the 6MB version of the descriptor.
The makefile creates a disk image with two sets of the required drivers for
the 6309 and 6809's in their respective module folders.
/NITROS9/6309_L2/MODULES/RBF
for the 6309 files
and
/NITROS9/6809_L2/MODULES/RBF
for the 6809 files.
This will make it easier for doing a dsave from this disk image into a
normal distro disk image so people have these drivers ready for when
new memory upgrades allow compatible usage of the NoCan registers.
author | David Ladd <drencor-xeen@users.sourceforge.net> |
---|---|
date | Wed, 20 Dec 2017 15:15:49 -0600 |
parents | 5095f2b3c81a |
children | 024ad1d926fd |
line wrap: on
line source
include ../port.mak vpath %.as $(LEVEL2)/cmds:$(LEVEL1)/cmds vpath %.asm $(LEVEL2)/cmds:$(LEVEL1)/cmds:$(3RDPARTY)/packages/basic09 DEPENDS = ./makefile AFLAGS += --includedir=$(3RDPARTY)/packages/basic09 LFLAGS += -L$(NITROS9DIR)/lib ifdef H6309 LFLAGS += -lcoco3_6309 else LFLAGS += -lcoco3 endif LFLAGS += -lnet -lalib 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 minted mmap modpatch montype mpi os9gen padrom park \ pmap proc procs prompt pwd pxd reboot rename save setime \ shell_21 sleep smap tee tmode touch tsmon tuneport unlink verify wcreate xmode CMDS_D2 = basic09 runb gfx2 gfx inkey syscall copy del echo format \ merge os9gen prompt tmode CMDS_DW = inetd dw telnet httpd 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: $(CMDS) $(CMDS_D2) $(CMDS_DW) shell utilpak1 $(DEPENDS) runb: runb.asm $(AS) $(AFLAGS) $< $(ASOUT)$@ $(MERGE) $@ $(SUBS)>$@.tmp $(RM) $@ $(MOVE) $@.tmp $@ tmode: xmode.asm $(AS) $(AFLAGS) $< $(ASOUT)$@ -DTMODE=1 xmode: xmode.asm $(AS) $(AFLAGS) $< $(ASOUT)$@ -DXMODE=1 pwd: pd.asm $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPWD=1 pxd: pd.asm $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPXD=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) $(CMDS_D2) $(CMDS_DW) # Only $(CMDS) are shown here showobjs: @$(ECHO) shell utilpak1 $(CMDS) showobjs_dw: @$(ECHO) shell utilpak1 $(sort $(CMDS) $(CMDS_D2) $(CMDS_DW)) showobjs_d2: @$(ECHO) $(CMDS_D2) identify: $(IDENT_SHORT) $(ALLOBJS)