shithub: scc

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

View raw version

$(LIBEXEC)/as-i386: as-i386
	cp as-i386 $@

I386_OBJ = $(OBJ) target/x86/i386tbl.o target/x86/i386.o target/x86/ins.o

target/x86/i386tbl.c: gentbl.awk target/x86/x86.dat target/x86/rules.dat
	./gentbl.sh -f x86 -c i386

as-i386: $(I386_OBJ) $(LIBSCC)/libscc.a
	$(CC) $(SCC_LDFLAGS) $(I386_OBJ) -lscc -o $@