shithub: scc

ref: 3e2b9fc5817172876d54d82e4ddc7df78b051212
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 $@