diff CoCoOS9/level2v3/CMDS/Makefile @ 31:bd2b07db8917 cocoos9lv2v3

CoCoOS9 version
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Jul 2018 15:16:13 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CoCoOS9/level2v3/CMDS/Makefile	Sat Jul 14 15:16:13 2018 +0900
@@ -0,0 +1,50 @@
+# OS-9 Level 2 V3 Commands/Utilities
+#
+
+include ../../Makefile.rules
+
+#AS		= os9 /mnt2/src/ocem/os9/asm
+#ASOUT		= o=
+AS		= xasm
+ASOUT		= -o=
+AFLAGS		= -q
+DEPENDS		= ./Makefile
+
+CMDS		= attr askmontype binex build cobbler copy date \
+		deiniz del deldir ddir dir dirm display dmem dump echo exbin \
+		free ident idir iniz link list load login makdir mdir \
+		merge mfree mmap montype pmap proc procs pwd pxd rename save \
+		setime shell_21 sleep swread swset tee tmode tsmon unlink \
+		verify wcreate xmode
+SUBS            = gfx inkey
+ALLOBJS		= $(CMDS) $(SUBS)
+
+SHELLMODS	= shell_21 build copy date deiniz del dir display echo iniz \
+		link list load mdir merge mfree procs tmode unlink
+UTILPAK1        = attr deldir dirm dmem free ident mmap proc rename setime tmode
+UTILPAK2        = ddir idir pmap xmode
+
+all:	$(ALLOBJS) shell utilpak1 utilpak2 $(DEPENDS)
+	chmod a+rx $(ALLOBJS) shell utilpak1 utilpak2
+
+shell:  $(SHELLMODS) $(DEPENDS)
+	cat $(SHELLMODS)>$@
+	@echo "*** Be sure the size of this file is less than 7681 bytes! ***"
+	@ls -l $@
+	@echo
+
+utilpak1:  $(UTILPAK1) $(DEPENDS)
+	cat $(UTILPAK1)>$@
+	@echo "*** Be sure the size of this file is less than 7681 bytes! ***"
+	@ls -l $@
+	@echo
+
+utilpak2:  $(UTILPAK2) $(DEPENDS)
+	cat $(UTILPAK2)>$@
+	@echo "*** Be sure the size of this file is less than 7681 bytes! ***"
+	@ls -l $@
+	@echo
+
+clean:
+	$(RM) $(ALLOBJS) shell utilpak1 utilpak2
+