diff level2/makefile @ 1119:f86ef3d1d7c9

Makefiles have been redone to take advantage of size and Make features
author boisy
date Sat, 12 Apr 2003 17:19:55 +0000
parents 1e3b13dfb976
children 99b993d4c94e
line wrap: on
line diff
--- a/level2/makefile	Sat Apr 12 15:31:18 2003 +0000
+++ b/level2/makefile	Sat Apr 12 17:19:55 2003 +0000
@@ -46,12 +46,15 @@
 
 dsk: all $(PACKAGENAME)
 
+dskcopy: dsk
+	$(CP) $(DSK1) $(DSK2) $(PACKAGENAME) $(DSKDIR)
+
 $(PACKAGENAME): $(DSK1) $(DSK2)
 	$(ZIP) $(PACKAGENAME) $(DSK1) $(DSK2) ReadMe ChangeLog
 
 $(DSK1):
 	-$(RM) $(DSK1)
-	$(OS9FORMAT_DS40) $(DSK1) -n"OS-9 Level Two System Disk"
+	$(OS9FORMAT_DS40) -e $(DSK1) -n"OS-9 Level Two System Disk"
 	$(OS9GEN) $(DSK1) -b=BOOTFILES/$(BOOTFILE) -t=BOOTFILES/$(KERNEL)
 	$(MAKDIR) $(DSK1),CMDS
 	$(MAKDIR) $(DSK1),SYS
@@ -65,6 +68,6 @@
 
 $(DSK2):
 	-$(RM) $(DSK2)
-	$(OS9FORMAT_DS40) $(DSK2) -n"OS-9 Level Two Modules Disk"
+	$(OS9FORMAT_DS40) -e $(DSK2) -n"OS-9 Level Two Modules Disk"
 	$(MAKDIR) $(DSK2),MODULES
 	$(CD) MODULES; $(CP) $(MODULES) ../$(DSK2),MODULES