changeset 503:c998e93e4ba9

Added dsk and dskclean target
author boisy
date Thu, 10 Oct 2002 01:28:54 +0000
parents e81cac091c79
children 034a1fc62a93
files 3rdparty/packages/rof/makefile
diffstat 1 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/packages/rof/makefile	Thu Oct 10 01:28:04 2002 +0000
+++ b/3rdparty/packages/rof/makefile	Thu Oct 10 01:28:54 2002 +0000
@@ -2,12 +2,26 @@
 
 DEPENDS		= ./Makefile
 
+DISK		= rof.dsk
 CMDS		= rescue
-
+SUPPORTFILES	= body heads larms legs lips panel1 rofvar rship.c rtitle.c \
+		scores
 ALLOBJS		= $(CMDS)
 
 all:	$(ALLOBJS)
+	$(CHMOD) 755 $(CMDS)
 
-clean:
+clean:	dskclean
 	$(RM) $(ALLOBJS)
 
+dsk:	all
+	$(RM) $(DISK)
+	$(OS9FORMAT) $(DISK)
+	$(OS9GEN) $(DISK) $(LEVEL2)/BOOTFILES/bootfile_1773 $(LEVEL2)/BOOTFILES/kernel_1773
+	$(MAKDIR) $(DISK):CMDS
+	$(CP) $(CMDS) $(DISK):CMDS
+	$(OS9RENAME) $(DISK):CMDS/rescue AutoEx
+	$(CP) $(SUPPORTFILES) $(DISK):.
+
+dskclean:
+	$(RM) $(DISK)