shithub: scc

ref: 08abc12db33fbddd1896580e4a08064558e88c0e
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)