ack/mach/z80/libsys/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

1987-02-02 12:44:39 +00:00
TAIL=libhermac_o.a
1985-04-01 14:44:26 +00:00
# Other possibilities are: tail.nascom and tail.cpm
1987-02-02 12:44:39 +00:00
MACH=z80
1985-04-01 14:44:26 +00:00
1987-02-02 12:44:39 +00:00
all: head_em.o libhermac_o.a libnascom_o.a libcpm_o.a
1985-04-01 14:44:26 +00:00
1987-02-02 12:44:39 +00:00
install: head_em.o $(TAIL)
../../install head_em.o head_em
../../install $(TAIL) tail_mon
1985-04-01 14:44:26 +00:00
1987-02-02 12:44:39 +00:00
cmp: head_em.o $(TAIL)
-../../compare head_em.o head_em
-../../compare $(TAIL) tail_mon
1985-04-01 14:44:26 +00:00
1987-02-02 12:44:39 +00:00
head_em.o: head_em.s
$(MACH) -I../../../h -c head_em.s
libcpm_o.a: libcpm_s.a
ASAR=aal ; export ASAR; march . libcpm_o.a
libnascom_o.a: libnascom_s.a
ASAR=aal ; export ASAR; march . libnascom_o.a
libhermac_o.a: libhermac_s.a
ASAR=aal ; export ASAR; march . libhermac_o.a
libcpm_s.a:
1985-04-01 14:44:26 +00:00
@echo Warning: untested, this is an example
1987-02-02 12:44:39 +00:00
arch cr libcpm_s.a mon.cpm.s
echo libcpm_s.a > LIST
arch t libcpm_s.a >> LIST
1985-04-01 14:44:26 +00:00
1987-02-02 12:44:39 +00:00
libnascom_s.a:
arch cr libnascom_s.a mon.s char.nas.s
echo libnascom_s.a > LIST
arch t libnascom_s.a >> LIST
1985-04-01 14:44:26 +00:00
1987-02-02 12:44:39 +00:00
libhermac_s.a:
arch cr libhermac_s.a mon.s char.her.s
echo libhermac_s.a > LIST
arch t libhermac_s.a >> LIST
1985-04-01 14:44:26 +00:00
opr:
make pr | opr
pr:
@pr `pwd`/Makefile `pwd`/head_em.s
1985-04-12 17:06:38 +00:00
@pr `pwd`/mon.s `pwd`/mon.cpm.s `pwd`/char.nas.s `pwd`/char.her.s