changeset 1121:6a058c03adb1

More Makefile changes
author boisy
date Sat, 12 Apr 2003 17:32:17 +0000
parents cc7dd0fd4e63
children 99b993d4c94e
files 3rdparty/packages/cc/makefile 3rdparty/packages/fsim2/makefile 3rdparty/packages/koronis/makefile 3rdparty/packages/kyumgai/makefile 3rdparty/packages/makefile 3rdparty/packages/mm/makefile 3rdparty/packages/multivue/makefile 3rdparty/packages/rof/makefile 3rdparty/packages/sierra/kingsquest3/makefile 3rdparty/packages/sierra/leisuresuitlarry/makefile 3rdparty/packages/subsim/makefile
diffstat 11 files changed, 45 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/packages/cc/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/cc/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -32,6 +32,9 @@
 	$(CPL) SOURCES/*.c $(DISK),SOURCES
 	$(CPL) SOURCES/*.a $(DISK),SOURCES/SYS
 
+dskcopy: dsk
+	$(CP) $(DISK) $(DSKDIR)
+
 dskclean:
-	-$(RM) $(DISK)
+	$(RM) $(DISK)
 
--- a/3rdparty/packages/fsim2/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/fsim2/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -41,5 +41,8 @@
 	$(OS9RENAME) $(DISK),CMDS/fs AutoEx
 	$(CP) $(SUPPORTFILES) $(DISK),.
 
+dskcopy: dsk
+	$(CP) $(DISK) $(DSKDIR)
+
 dskclean:
 	$(RM) $(DISK)
--- a/3rdparty/packages/koronis/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/koronis/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -44,5 +44,8 @@
 	$(OS9RENAME) $(DISK),CMDS/koronis AutoEx
 	$(CP) $(SUPPORTFILES) $(DISK),.
 
+dskcopy: dsk
+	$(CP) $(DISK) $(DSKDIR)
+
 dskclean:
 	$(RM) $(DISK)
--- a/3rdparty/packages/kyumgai/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/kyumgai/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -46,5 +46,8 @@
 	$(OS9RENAME) $(DISK),CMDS/ninja AutoEx
 	$(CP) $(SUPPORTFILES) $(DISK),.
 
+dskcopy: dsk
+	$(CP) $(DISK) $(DSKDIR)
+
 dskclean:
 	$(RM) $(DISK)
--- a/3rdparty/packages/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -12,5 +12,17 @@
 	$(foreach dir, $(dirs), $(CD) $(dir); make; $(CD) ..;)
 
 # Clean all components
-clean:
+clean:	dskclean
 	$(foreach dir, $(dirs), $(CD) $(dir); make clean; $(CD) ..;)
+
+# Create dsk images
+dsk:
+	$(foreach dir, $(dirs), $(CD) $(dir); make dsk; $(CD) ..;)
+
+# Copy dsk images
+dskcopy: dsk
+	$(foreach dir, $(dirs), $(CD) $(dir); make dskcopy; $(CD) ..;)
+
+# Clean dsk images
+dskclean:
+	$(foreach dir, $(dirs), $(CD) $(dir); make dskclean; $(CD) ..;)
--- a/3rdparty/packages/mm/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/mm/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -41,5 +41,8 @@
 	$(OS9RENAME) $(DISK),CMDS/mm AutoEx
 	$(CP) $(SUPPORTFILES) $(DISK),.
 
+dskcopy: dsk
+	$(CP) $(DISK) $(DSKDIR)
+
 dskclean:
 	$(RM) $(DISK)
--- a/3rdparty/packages/multivue/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/multivue/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -37,6 +37,9 @@
 	$(CD) SYS; $(CPL) $(SYSTEXT) ../$(DISK),SYS
 	$(CD) DEMO; $(CPL) $(DEMO) ../$(DISK),DEMO
 
+dskcopy: dsk
+	$(CP) $(DISK) $(DSKDIR)
+
 dskclean:
-	-$(RM) $(DISK)
+	$(RM) $(DISK)
 
--- a/3rdparty/packages/rof/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/rof/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -40,5 +40,8 @@
 	$(OS9RENAME) $(DISK),CMDS/rescue AutoEx
 	$(CP) $(SUPPORTFILES) $(DISK),.
 
+dskcopy: dsk
+	$(CP) $(DISK) $(DSKDIR)
+
 dskclean:
 	$(RM) $(DISK)
--- a/3rdparty/packages/sierra/kingsquest3/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/sierra/kingsquest3/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -65,5 +65,8 @@
 	$(OS9FORMAT_DS40) $(DISK_3) -n"King's Quest III Disk 3"
 	$(CP) $(SUPPORTFILES_D3) $(DISK_3),.
 
+dskcopy: dsk
+	$(CP) $(DISK_1) $(DISK_2) $(DISK_3) $(DSKDIR)
+
 dskclean:
 	$(RM) $(DISK_1) $(DISK_2) $(DISK_3)
--- a/3rdparty/packages/sierra/leisuresuitlarry/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/sierra/leisuresuitlarry/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -41,5 +41,8 @@
 	$(OS9RENAME) $(DISK),CMDS/sierra AutoEx
 	$(CP) $(SUPPORTFILES) $(DISK),.
 
+dskcopy: dsk
+	$(CP) $(DISK) $(DSKDIR)
+
 dskclean:
 	$(RM) $(DISK)
--- a/3rdparty/packages/subsim/makefile	Sat Apr 12 17:25:34 2003 +0000
+++ b/3rdparty/packages/subsim/makefile	Sat Apr 12 17:32:17 2003 +0000
@@ -42,5 +42,8 @@
 	$(OS9RENAME) $(DISK),CMDS/presub AutoEx
 	$(CP) $(SUPPORTFILES) $(DISK),.
 
+dskcopy:
+	$(CP) $(DISK) $(DSKDIR)
+
 dskclean:
 	$(RM) $(DISK)