shithub: scc

ref: d82cd3b9dba1335ff981f2816672501babf55e11
dir: /as/target/i386/target.mk/

View raw version

I386_LST = target/i386/instbl.o target/i386/ins.o target/i386/proc.o

$(I386_LST): target/x86/proc.h

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

OBJ-i386 = $(OBJ) $(I386_LST)