shithub: scc

ref: d9ac6c3479972cda5337b5c65f8ee731c574c82b
dir: /as/target/z80/target.mk/

View raw version

Z80_LST = target/z80/instbl.o target/z80/ins.o target/z80/proc.o

$(Z80_LST): target/x80/proc.h

target/z80/instbl.c: target/gen.awk target/x80/x80.dat
	set -e ;\
	rm -f $@;\
	trap "rm -f $$$$.c" 0 2 3; \
	awk -v cpu=Z80 -v family=x80 \
		-f target/gen.awk  \
		< target/x80/x80.dat > $$$$.c && mv $$$$.c $@

OBJ-z80 = $(OBJ) $(Z80_LST)