diff level1/coco/makefile @ 2105:d5824ed9c767

Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
author boisy
date Fri, 29 Sep 2006 16:16:25 +0000
parents 392de115605e
children 097a8f4f122e
line wrap: on
line diff
--- a/level1/coco/makefile	Sun Sep 24 22:46:45 2006 +0000
+++ b/level1/coco/makefile	Fri Sep 29 16:16:25 2006 +0000
@@ -19,7 +19,8 @@
 DIRS		= cmds modules defs sys bootfiles
 
 
-CMDS		= $(shell $(CD) cmds; make showcocoobjs)
+CMDS		= $(shell $(CD) cmds; make showobjs)
+CMDS_D2		= $(shell $(CD) cmds; make showobjs_d2)
 BOOTTRACK	= $(shell $(CD) modules; make showboottrack)
 KERNEL		= $(shell $(CD) modules; make showkernel)
 SYSMODS		= $(shell $(CD) modules; make showsysmods)
@@ -93,6 +94,9 @@
 $(DSK360K_2):
 	$(RM) $@
 	$(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/6809 Level 1 Disk 2"
+	$(MAKDIR) $@,CMDS
+	$(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
+	$(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
 	$(MAKDIR) $@,NITROS9
 	$(MAKDIR) $@,NITROS9/6809L1
 	$(MAKDIR) $@,NITROS9/6809L1/CMDS
@@ -137,6 +141,8 @@
 	$(MAKDIR) $@,DEFS
 	$(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
 	$(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
+	$(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
+	$(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
 	$(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
 	$(CD) sys; $(CPL) $(SYS) ../$@,SYS
 	$(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)