diff level2/cmds/makefile @ 341:20944721d3e6

Major makefile mods
author boisy
date Wed, 24 Jul 2002 14:34:24 +0000
parents 2c95b3e0ffc8
children 1fdd80bc3f91
line wrap: on
line diff
--- a/level2/cmds/makefile	Wed Jul 24 14:10:07 2002 +0000
+++ b/level2/cmds/makefile	Wed Jul 24 14:34:24 2002 +0000
@@ -9,7 +9,6 @@
 		setime shell_21 sleep tee tmode tsmon unlink \
 		verify wcreate xmode
 SUBS            = gfx2 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
@@ -20,9 +19,11 @@
 		list.asm load.asm login.asm makdir.asm merge.asm os9gen.asm pwd.asm pxd.asm rename.asm \
 		save.asm setime.asm sleep.asm tee.asm tmode.asm tuneport.asm tsmon.asm verify.asm xmode.asm
 
+ALLOBJS		= $(CMDS) $(SUBS)
+
 # Files not compilable by os9asm: config
 all:	$(ALLOBJS) shell utilpak1 $(DEPENDS)
-	$(CHMOD) a+rx $(ALLOBJS) shell utilpak1
+	$(CHMOD) 755 $(ALLOBJS) shell utilpak1
 
 shell:  $(SHELLMODS) $(DEPENDS)
 	$(MERGE) $(SHELLMODS)>$@
@@ -42,5 +43,8 @@
 clean:
 	$(RM) $(ALLOBJS) $(LEVEL1FILES) shell utilpak1
 
+showobjs:
+	@$(ECHO) $(ALLOBJS) shell utilpak1
+
 identify:
 	$(IDENT_SHORT) $(ALLOBJS)