1 - Added Basic library.

2 - Added revision number.
This commit is contained in:
keie
1984-12-10 14:41:49 +00:00
parent 83f3de1555
commit 468cdfd3eb
4 changed files with 49 additions and 35 deletions

View File

@@ -1,3 +1,4 @@
# $Revision$
var w=1
var p=2
var s=1
@@ -6,23 +7,24 @@ var f=4
var d=8
var NAME=nascom
var M=z80a
var LIB=mach/z80a/lib/tail_
var RT=mach/z80a/lib/head_
var LIB=lib/{M}/tail_
var RT=lib/{M}/head_
var INCLUDES=-I{EM}/include -I/usr/include
name be
from .m
from .m.g
to .s
program {EM}/lib/{M}_be
program {EM}/lib/{M}/be
args <
prop >
stdout
need .e
end
name asld
from .s.a
to a.out
program {EM}/lib/{M}_as
to .out
outfile a.out
program {EM}/lib/z80/as
mapflag -l* LNAME={EM}/{LIB}*
args (.e:{HEAD}={EM}/{RT}em) ({RTS}:.c={EM}/{RT}cc) -o > \
args (.e:{HEAD}={EM}/{RT}em) ({RTS}:.b.c={EM}/{RT}cc) -o > \
(.e:{TAIL}={EM}/{LIB}em.1 {EM}/{LIB}em.2)
prop C
linker
end