diff level2/cmds/makefile @ 1119:f86ef3d1d7c9

Makefiles have been redone to take advantage of size and Make features
author boisy
date Sat, 12 Apr 2003 17:19:55 +0000
parents 1027549ee381
children c847e6ee341d
line wrap: on
line diff
--- a/level2/cmds/makefile	Sat Apr 12 15:31:18 2003 +0000
+++ b/level2/cmds/makefile	Sat Apr 12 17:19:55 2003 +0000
@@ -1,5 +1,7 @@
 include ../../Makefile.rules
 
+vpath %.asm $(LEVEL1)/CMDS:$(3RDPARTY)/packages/basic09
+
 DEPENDS		= ./Makefile
 
 CMDS		= asm attr backup binex build cmp cobbler copy cputype \
@@ -16,16 +18,6 @@
 UTILPAK1	= attr copy del deldir dir display list makdir mdir \
 		mfree procs rename tmode
 
-BASIC09FILES	= runb.asm gfx.asm gfx2.asm inkey.asm syscall.asm
-LEVEL1FILES	= asm.asm attr.asm backup.asm binex.asm build.asm cmp.asm \
-		cobbler.asm copy.asm cputype.asm date.asm dcheck.asm \
-		debug.asm ded.asm deiniz.asm del.asm deldir.asm devs.asm dir.asm \
-		disasm.asm display.asm dmode.asm dsave.asm dump.asm echo.asm \
-		edit.asm error.asm exbin.asm exmode.asm format.asm free.asm \
-		help.asm ident.asm iniz.asm irqs.asm link.asm \
-		list.asm load.asm login.asm makdir.asm merge.asm os9gen.asm pd.asm rename.asm \
-		save.asm setime.asm sleep.asm tee.asm tmode.asm touch.asm tuneport.asm tsmon.asm verify.asm xmode.asm
-
 ALLOBJS		= $(CMDS) $(SUBS)
 
 # Files not compilable by os9asm: config
@@ -50,14 +42,8 @@
 	@ls -l $@
 	@$(ECHO) ""
 
-$(BASIC09FILES): $(BASEDIR)/3rdparty/packages/basic09/$@
-	-$(SOFTLINK) $(BASEDIR)/3rdparty/packages/basic09/$@
-
-$(LEVEL1FILES): $(LEVEL1)/CMDS/$@
-	-$(SOFTLINK) $(LEVEL1)/CMDS/$@
-
 clean:
-	$(RM) shell utilpak1 $(ALLOBJS) $(BASIC09FILES) $(LEVEL1FILES)
+	$(RM) shell utilpak1 $(ALLOBJS)
 
 showobjs:
 	@$(ECHO) shell utilpak1 $(ALLOBJS)