1984-06-21 10:57:59 +00:00
|
|
|
var w=1
|
|
|
|
var p=2
|
|
|
|
var s=1
|
|
|
|
var l=2
|
|
|
|
var f=4
|
|
|
|
var d=8
|
|
|
|
var NAME=nascom
|
|
|
|
var M=z80a
|
|
|
|
var LIB=mach/z80a/lib/tail_
|
|
|
|
var RT=mach/z80a/lib/head_
|
1984-06-21 11:25:05 +00:00
|
|
|
var INCLUDES=-I{EM}/include -I/usr/include
|
1984-06-21 10:57:59 +00:00
|
|
|
name be
|
|
|
|
from .m
|
|
|
|
to .s
|
|
|
|
program {EM}/lib/{M}_be
|
|
|
|
args <
|
|
|
|
prop >
|
|
|
|
need .e
|
|
|
|
end
|
|
|
|
name asld
|
|
|
|
from .s.a
|
|
|
|
to a.out
|
|
|
|
program {EM}/lib/{M}_as
|
|
|
|
mapflag -l* LNAME={EM}/{LIB}*
|
|
|
|
args (.e:{HEAD}={EM}/{RT}em) ({RTS}:.c={EM}/{RT}cc) -o > \
|
|
|
|
(.e:{TAIL}={EM}/{LIB}em.1 {EM}/{LIB}em.2)
|
|
|
|
prop C
|
|
|
|
end
|