diff 3rdparty/utils/smartwatch/makefile @ 2814:dd5499bc4bdd lwtools-port

Updated makefile(s) to create disk images and info for 3rdparty/utils/ Updated makefile(s) for boisy/, dasm/, dladd/, smartwatch/, supercomm/, & winfo/ that are located in the 3rdparty/utils/ area. The update includes creating a disk image for each with those commands in them. Also added a info section to each of those makefile(s) and the makefile in 3rdparty/utils/ as that makefile did not have a info section.
author David Ladd <drencor-xeen@users.sf.net>
date Tue, 12 Feb 2013 13:50:55 -0600
parents 174d263c0995
children c1892376e7a7
line wrap: on
line diff
--- a/3rdparty/utils/smartwatch/makefile	Tue Feb 12 12:51:35 2013 -0600
+++ b/3rdparty/utils/smartwatch/makefile	Tue Feb 12 13:50:55 2013 -0600
@@ -6,6 +6,10 @@
 
 ALLOBJS		= $(CMDS)
 
+DSKSMARTWATCH	= smartwatch.dsk
+
+DSKS		= $(DSKSMARTWATCH)
+
 all:	banner $(ALLOBJS) $(DEPENDS)	
 
 banner:
@@ -14,7 +18,24 @@
 	@$(ECHO) "*               SmartWatch Utilities             *"
 	@$(ECHO) "*                                                *"
 	@$(ECHO) "**************************************************"
- 
+
+$(DSKSMARTWATCH): $(CMDS)
+	-$(RM) $@
+	$(OS9FORMAT) $@
+	$(MAKDIR) $@,CMDS
+	$(CP) $(CMDS) $@,CMDS
+	$(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
+
+dsk: all $(DSKS)
+
+dskcopy: dsk
+	$(CP) $(DSKS) $(DSKDIR)
+
 clean:
-	$(RM) $(ALLOBJS)
+	$(RM) $(ALLOBJS) $(DSKS)
 
+info:
+	@echo "*** SmartWatch Utilities ***"
+	@$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
+
+