diff os9/level1/Makefile @ 41:0d570c55ebd4 nitros9-version

fix for hg cloned nistros 9 code
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 17 Jul 2018 11:42:58 +0900
parents 7baffb867d70
children 4fa2bdb0c457
line wrap: on
line diff
--- a/os9/level1/Makefile	Tue Jul 17 10:55:16 2018 +0900
+++ b/os9/level1/Makefile	Tue Jul 17 11:42:58 2018 +0900
@@ -1,8 +1,8 @@
 
-OS9SRC=../../../../nitros9-code
-SRCDIR=$(OS9SRC)/level1/modules
-SRCCMD=$(OS9SRC)/level1/cmds
-SRCDIR2=$(OS9SRC)/level2/modules
+OS9SRC = ../nitros9-code
+SRCDIR = $(OS9SRC)/level1/modules
+SRCCMD = $(OS9SRC)/level1/cmds
+SRCDIR2 = $(OS9SRC)/level2/modules
 
 A09 = ../../a09 -I $(OS9SRC)/defs/
 
@@ -19,7 +19,7 @@
 # CoCoOS9's level1/os9p1.asm has wrong vector value, use our own
 
 pdisk : 
-	$(A09) pdisk.asm -o pdisk $(LST) $(LST)
+	$(A09) pdisk.asm -o pdisk $(LST) 
 
 #boot : boot.asm
 #	$(A09) boot.asm -o boot $(LST)
@@ -45,7 +45,7 @@
 
 # os9 level1 moduels
 
-shell : ${SRCCMD}/shell_21.asm 
+shell : $(SRCCMD)/shell_21.asm 
 	$(A09) $< -o $@ $(LST)
 
 mdir : ${SRCCMD}/mdir.asm
@@ -56,7 +56,7 @@
 
 os9p1 :
 	cat  ${OS9SRC}//defs/coco.d ${SRCDIR}/kernel/krn.asm > krn.asm
-	$(A09) -I ../../../../nitros9-code/level1/modules/kernel/ krn.asm  -o os9p1 $(LST)
+	$(A09) -I ../nitros9-code/level1/modules/kernel/ krn.asm  -o os9p1 $(LST)
 
 os9p2 :
 	$(A09) ${SRCDIR}/kernel/krnp2.asm -o os9p2 $(LST)