target.mk (355B)
1 2 Z80_LST = target/z80/instbl.o target/z80/ins.o target/z80/proc.o target/x80/ins.o 3 4 $(Z80_LST): target/x80/proc.h 5 6 target/z80/instbl.c: target/gen.awk target/x80/x80.dat 7 set -e ;\ 8 rm -f $@;\ 9 trap "rm -f $$$$.c" 0 2 3; \ 10 awk -v cpu=Z80 -v family=x80 \ 11 -f target/gen.awk \ 12 < target/x80/x80.dat > $$$$.c && mv $$$$.c $@ 13 14 OBJ-z80 = $(OBJ) $(Z80_LST)