468cdfd3eb
2 - Added revision number.
31 lines
471 B
Plaintext
31 lines
471 B
Plaintext
# $Revision$
|
|
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=lib/{M}/tail_
|
|
var RT=lib/{M}/head_
|
|
var INCLUDES=-I{EM}/include -I/usr/include
|
|
name be
|
|
from .m.g
|
|
to .s
|
|
program {EM}/lib/{M}/be
|
|
args <
|
|
stdout
|
|
need .e
|
|
end
|
|
name asld
|
|
from .s.a
|
|
to .out
|
|
outfile a.out
|
|
program {EM}/lib/z80/as
|
|
mapflag -l* LNAME={EM}/{LIB}*
|
|
args (.e:{HEAD}={EM}/{RT}em) ({RTS}:.b.c={EM}/{RT}cc) -o > \
|
|
(.e:{TAIL}={EM}/{LIB}em.1 {EM}/{LIB}em.2)
|
|
linker
|
|
end
|