29 lines
437 B
Plaintext
29 lines
437 B
Plaintext
|
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_
|
||
|
var INCLUDES=-I{EM}/include
|
||
|
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
|