view cmds/Makefile @ 58:efbe39fee3ae

add command directory
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 23 Jul 2018 19:36:38 +0900
parents
children
line wrap: on
line source

SRC2  = ../src/os9/nitros9-code/level2/cmds
SRC1  = ../src/os9/nitros9-code/level1/cmds

OBJ2 = dmem mdir mfree mmap pmap proc procs reboot smap

OBJ1 = asm attr calldbg cmp config copy cputype date debug del deldir devs dir dir_cb dirsort  dump  echo edit \
    error free help ident irqs link list load login makdir pd procs prompt shellplus sleep tee touch tsmon unlink

all : $(OBJ2) $(OBJ1)

A09 = ../src/a09

dmem : 
	$(A09) -l $@.lst  -o $@ $(SRC2)/$@.asm

mdir :
	$(A09) -l $@.lst  -o $@ $(SRC2)/$@.asm
mfree :
	$(A09) -l $@.lst  -o $@ $(SRC2)/$@.asm
mmap :
	$(A09) -l $@.lst  -o $@ $(SRC2)/$@.asm
pmap :
	$(A09) -l $@.lst  -o $@ $(SRC2)/$@.asm
proc :
	$(A09) -l $@.lst  -o $@ $(SRC2)/$@.asm
procs :
	$(A09) -l $@.lst  -o $@ $(SRC2)/$@.asm
reboot :
	$(A09) -l $@.lst  -o $@ $(SRC2)/$@.asm
smap :
	$(A09) -l $@.lst  -o $@ $(SRC2)/$@.asm

asm :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
attr :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
calldbg :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
cmp :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
config :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
copy :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
cputype :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
date :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
debug :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
del :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
deldir :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
devs :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
dir :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
dir_cb :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
dirsort :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
di.asm :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
dump :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
dw.as :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
echo :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
edit :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
error :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
free :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
help :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
ident :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
irqs :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
link :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
list :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
load :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
login :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
makdir :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
pd :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
prompt :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
shellplus :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
sleep :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
tee :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
touch :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
tsmon :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm
unlink :
	$(A09) -l $@.lst  -o $@ $(SRC1)/$@.asm