1984-07-02 11:26:53 +00:00
|
|
|
CFLAGS=-O
|
|
|
|
HOME=../../..
|
|
|
|
|
|
|
|
install \
|
|
|
|
all: em emdmp tables
|
|
|
|
|
1988-03-15 11:29:39 +00:00
|
|
|
tables: mktables $(HOME)/etc/ip_spec.t
|
|
|
|
mktables $(HOME)/etc/ip_spec.t tables
|
1984-07-02 11:26:53 +00:00
|
|
|
|
|
|
|
mktables: mktables.c $(HOME)/h/em_spec.h $(HOME)/h/em_flag.h \
|
1991-10-01 16:44:14 +00:00
|
|
|
$(HOME)/lib.bin/em_data.a $(HOME)/h/ip_spec.h
|
|
|
|
$(CC) -I$(HOME)/h -O -o mktables mktables.c $(HOME)/lib.bin/em_data.a
|
1984-07-02 11:26:53 +00:00
|
|
|
|
|
|
|
em.out: em.p
|
|
|
|
apc -mint -O em.p >emerrs ; mv e.out em.out
|
|
|
|
|
|
|
|
em: em.p
|
|
|
|
apc -O -i em.p >emerrs ; mv a.out em
|
|
|
|
|
|
|
|
nem.p: em.p
|
|
|
|
sed -e '/maxadr = t16/s//maxadr =t15/' -e '/maxdata = 8191; /s//maxdata = 14335;/' -e '/ adr=.*long/s// adr= 0..maxadr/' <em.p >nem.p
|
|
|
|
|
|
|
|
nem: nem.p
|
|
|
|
apc -O -i nem.p >emerrs ; mv a.out nem
|
|
|
|
|
|
|
|
emdmp: emdmp.c
|
1991-10-09 15:49:20 +00:00
|
|
|
$(CC) -I$(HOME)/h -I$(HOME)/config -o emdmp -O emdmp.c
|
1984-07-02 11:26:53 +00:00
|
|
|
|
|
|
|
cmp:
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr em.p mktables.c emdmp.c
|